You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@BeneCollyridam Have you been able to try your fix to see if it resolves the issue? I don't have a way of testing something that long-running myself currently.
When using the library for an extended time we eventually got the following error:
When I dig into the code it seems that it is in the calculation here epo_ops/middlewares/throttle/storages/sqlite.py#L123
I think it happens if the next run is in the past (aka. next_run < _now). It could probably be fixed by adding a check for that and returning 0
I have made a PR that should fix it, but maybe I'm missing something/not doing it the desired way: #49
The text was updated successfully, but these errors were encountered: