Skip to content

Conversation

GefMar
Copy link
Contributor

@GefMar GefMar commented Apr 16, 2025

Why:

Some use cases require short delays (less than 1 second), which were previously unsupported due to integer-only handling. This change enables more precise control over task delays.

delay Handling:

I deliberately chose not to infer the delay type from labels types.
The delay value is now always and explicitly cast to float, regardless of the original label type.
This enforces strict and predictable behavior, eliminating ambiguity.

@s3rius s3rius merged commit 5fa8506 into taskiq-python:master Apr 20, 2025
8 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