Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@megalaren
Copy link
Contributor

When using the .schedule_by_time() method, I encountered a problem where the task starts more than 1 second earlier than the scheduled time. I believe the scheduler should not start tasks before the specified time.
This PR fixes this issue. Also added a test that simulates my problem.

@codecov
Copy link

codecov bot commented Feb 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.54%. Comparing base (fec9633) to head (188d0cb).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #404      +/-   ##
==========================================
+ Coverage   77.51%   77.54%   +0.03%     
==========================================
  Files          62       62              
  Lines        1899     1902       +3     
==========================================
+ Hits         1472     1475       +3     
  Misses        427      427              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@s3rius
Copy link
Member

s3rius commented Feb 4, 2025

LGTM. Will be released soon.

@s3rius s3rius merged commit 40f5579 into taskiq-python:master Feb 4, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants