I have a long running task that can take between seconds to minutes to execute.
I want to have it pull work from Persistent Subscription.
Is it ok to set the “Message Timeout (ms)” on persistent subscription to be something like 60 minutes?
My thinking:
-
Task comes in from Persistent Subscription
-
Worker starts on the task… 10 minutes pass
-
Worker completes the task.
-
Worker writes the results to somewhere.
-
Worker ACKs the message to Persistent Subscription
My only concern is whether such a long timeout is reasonable?
Thank you.