mirror of
https://github.com/janLo/punkow
synced 2026-06-19 15:38:00 +00:00
make shortened interval shorter
This commit is contained in:
@@ -63,7 +63,7 @@ class Timer(object):
|
|||||||
def _wait_time(self, now):
|
def _wait_time(self, now):
|
||||||
for special in self._special_times:
|
for special in self._special_times:
|
||||||
if special.is_between(now):
|
if special.is_between(now):
|
||||||
return 1
|
return 0.5
|
||||||
return self._interval
|
return self._interval
|
||||||
|
|
||||||
@contextlib.asynccontextmanager
|
@contextlib.asynccontextmanager
|
||||||
|
|||||||
Reference in New Issue
Block a user