taskiq-python / taskiq

Distributed task queue with full async support
MIT License
694 stars 44 forks source link

Simplified scheduler. #221

Closed s3rius closed 8 months ago

s3rius commented 8 months ago

Now scheduler doesn't run periodic update task in the background. Now it runs it every minute when scheduler runs. This simplifies both the scheduling API and makes the scheduler less error-prone.

codecov-commenter commented 8 months ago

Codecov Report

Merging #221 (718b405) into develop (76d4846) will increase coverage by 0.02%. The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #221      +/-   ##
===========================================
+ Coverage    73.42%   73.45%   +0.02%     
===========================================
  Files           55       55              
  Lines         1656     1646      -10     
===========================================
- Hits          1216     1209       -7     
+ Misses         440      437       -3     
Files Coverage Δ
taskiq/cli/scheduler/run.py 92.39% <100.00%> (+3.28%) :arrow_up:
taskiq/scheduler/scheduler.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more