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
When a job is slow, the timeout parameter does not trigger any error/event nor the job.
Give the following snippet, it runs correctly with exit code 0 and no errors.
I would expect an error event as notification that a job did not completed successfully.
The semantics of "error" is reserved for something unexpected happening during maintenance or cron handling, not a promise that wasn't cancelled before shutdown. If pg-boss were to detect and signal on a promise it had to give up on, I guess a new event could be created for that.
pg-boss version: 9.0.3
When a job is slow, the
timeout
parameter does not trigger any error/event nor the job.Give the following snippet, it runs correctly with exit code 0 and no errors.
I would expect an
error
event as notification that a job did not completed successfully.It seems that the error is ignored here:
pg-boss/src/manager.js
Line 239 in 64df1e4
What do you think?
The text was updated successfully, but these errors were encountered: