How to configure the max_attempts of a job?
#739
-
|
I see that in postgres, jobs are stored with a The thing is, my application manages its own retry logic and I want to set the |
Beta Was this translation helpful? Give feedback.
Answered by
geofmureithi
May 6, 2026
Replies: 1 comment 2 replies
-
|
You are looking for: https://docs.rs/apalis-sql/1.0.0-rc.8/apalis_sql/ext/trait.TaskBuilderExt.html#required-methods This would be applied on eg: TaskBuilder::new(args).max_attempts(1).build() |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
JasterV
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are looking for:
https://docs.rs/apalis-sql/1.0.0-rc.8/apalis_sql/ext/trait.TaskBuilderExt.html#required-methods
This would be applied on
TaskBuildereg: