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

Change queue_size argument type to expr #20

Merged

Conversation

petekubiak
Copy link
Contributor

As constants are evaluated after macros have been expanded, the current implementation of the actor! and spawn_context! macros do not allow a constant to be passed to the queue_size argument. This means that actors can only be instanced using anonymous numbers.

This PR changes the type of the queue_size argument to expr, which means constants can also be used.

@lulf lulf merged commit 2ee7580 into drogue-iot:main Oct 18, 2024
1 check 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