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
Currently InfiniteTasks loop has constant sleep delay_between_runs seconds.
It is ok for now, but in the future, it could affect the speed of processing spikes of new news.
InfiniteTasks should support boolean return from single_run method. If single_run returns False, then InfiniteTasks should wait for delay_between_runs seconds before next iteration, otherwise it should start next iteration immediately.
Currently
InfiniteTasks
loop has constant sleepdelay_between_runs
seconds.It is ok for now, but in the future, it could affect the speed of processing spikes of new news.
InfiniteTasks
should support boolean return fromsingle_run
method. Ifsingle_run
returnsFalse
, thenInfiniteTasks
should wait fordelay_between_runs
seconds before next iteration, otherwise it should start next iteration immediately.Caused by gh-170
The text was updated successfully, but these errors were encountered: