Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for timedelta as actor delay #569

Merged
merged 1 commit into from
Aug 20, 2023

Conversation

h3nnn4n
Copy link
Contributor

@h3nnn4n h3nnn4n commented Aug 20, 2023

This implements #522 as suggested by @dragonpaw

Support for using timedelta for the actor delay was added at the public interface. Alternatively it could have been implemented by switching to timedelta internally and converting to int / float when interfacing with external libraries. This would improve type safety in dramatiq, but it is a more intrusive change.

Based on feedback from this PR I can open a followup to support timedelta for timeout args as well.

@h3nnn4n h3nnn4n marked this pull request as ready for review August 20, 2023 15:26
@Bogdanp Bogdanp merged commit 7434977 into Bogdanp:master Aug 20, 2023
@Bogdanp
Copy link
Owner

Bogdanp commented Aug 20, 2023

Thanks!

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