lint
This commit is contained in:
parent
44d3e28182
commit
9dcaf125b0
2 changed files with 14 additions and 8 deletions
3
nwcp.py
3
nwcp.py
|
|
@ -49,7 +49,8 @@ class MainSubscription:
|
|||
|
||||
def gc(self, expire: Optional[int] = None):
|
||||
"""
|
||||
Garbage collection, remove all the events that have a response older than expire seconds (defaults to 1 hour if 0 or None)
|
||||
Garbage collection, remove all the events that have a response older
|
||||
than expire seconds (defaults to 1 hour if 0 or None)
|
||||
"""
|
||||
expire = expire or 1 * 60 * 60
|
||||
now = int(time.time())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue