-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TriggerEngine: allow custom prefetch_count on trigger policies
Until now, a trigger policy used a consumer prefetch set by the `TRIGGER_ENGINE_AMQP_CONSUMER_PREFETCH_COUNT` env (as usual in Astarte). If the policy provides a custom consumer prefetch count (e.g. for message ordering reasons), use that prefetch value. This can be done if the related Realm Management flag is enabled. The default policy will still respect the default prefetch count, so as not to break compatibility with previous Astarte versions. Signed-off-by: Arnaldo Cesco <[email protected]>
- Loading branch information
Showing
3 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters