fix: remove dead clock param; pin commons v0.2.1 (v0.1.2)
the clock= constructor param was stored (self._clock) but never read — the 429 retry_after wait uses asyncio.sleep directly. it was dead code, and the CLAUDE.md wrongly claimed it made 429 timing test-controllable. remove the param + the unused time import, and correct the doc (tests patch commons.retry's sleep + sender.asyncio .sleep, not a clock seam). bump the commons pin to v0.2.1 (retry attempts floor). verified: clock param gone, constructs fine, 18/18 fix harness intact. Signed-off-by: disqualifier <dev@disqualifier.me>
This commit is contained in:
+2
-2
@@ -4,12 +4,12 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "aiowebhooks"
|
||||
version = "0.1.1"
|
||||
version = "0.1.2"
|
||||
description = "async webhook sender (aiohttp) with round-robin urls, retry, and proxy rotation; optional discord.py embeds"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"aiohttp>=3.9",
|
||||
"commons @ git+ssh://git@git.rethinkstudios.io/rethink-public/commons.git@v0.2.0",
|
||||
"commons @ git+ssh://git@git.rethinkstudios.io/rethink-public/commons.git@v0.2.1",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
|
||||
Reference in New Issue
Block a user