You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my code, I'm currently trying to create a new queue if necessary and start processing messages using the rsmq-worker package.
The worker is doing time-consuming work so I want the timeout and invisibletime to be a high number.
This command seem to create the queue, but with the wrong invisible-value. It seems to set the default 30sek value instead of the value in the options-object.
The text was updated successfully, but these errors were encountered:
After my tests it's working well.
But i think you missed something in the docs.
The unit of the timeout is ms and for invisibletime it's s.
So you're using 10 minutes timeout and 6,94 days invisibility.
The Setting timeout is used inside rsmq-worker to define a time a single process/messgae is allowed to run.
The invisibletime configuration is the time a message will be invisible for all workers after it was once received. This is required to prevent a message to be processed by mutliple workers in parallel.
In my code, I'm currently trying to create a new queue if necessary and start processing messages using the rsmq-worker package.
The worker is doing time-consuming work so I want the timeout and invisibletime to be a high number.
This command seem to create the queue, but with the wrong invisible-value. It seems to set the default 30sek value instead of the value in the options-object.
The text was updated successfully, but these errors were encountered: