hi,
I am trying to understand how can i utilize timeout to task submission and task processing using the pond,
I can use the NewGroupContext and then use it to run one task, that way i would achieve a timeout per task.
but I see multiple issues with that:
- A lot of overhead.
- No way to configure separate timeout for the task submission and task processing.
- canceling the ctx timeout is needing and is making the code a bit more complex.
Are you open to to the idea of adding this kind of functionality into pond by me? and if so do you have any suggestions to the API or implementations?
hi,
I am trying to understand how can i utilize timeout to task submission and task processing using the
pond,I can use the NewGroupContext and then use it to run one task, that way i would achieve a timeout per task.
but I see multiple issues with that:
Are you open to to the idea of adding this kind of functionality into
pondby me? and if so do you have any suggestions to the API or implementations?