mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 16:14:49 -04:00
Stop sub-classing object (#8249)
This commit is contained in:
parent
9f8abdcc38
commit
c619253db8
168 changed files with 293 additions and 292 deletions
|
@ -49,7 +49,7 @@ http_badges_failed_counter = Counter(
|
|||
)
|
||||
|
||||
|
||||
class HttpPusher(object):
|
||||
class HttpPusher:
|
||||
INITIAL_BACKOFF_SEC = 1 # in seconds because that's what Twisted takes
|
||||
MAX_BACKOFF_SEC = 60 * 60
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue