timgit / pg-boss

Queueing jobs in Node.js using PostgreSQL like a boss
MIT License
1.73k stars 144 forks source link

fix: start state handling #406

Closed simoneb closed 1 year ago

simoneb commented 1 year ago

Fixes #404

The issue seems to be related to state handling of the started/stopped state. I haven't studied the codebase thoroughly to tell whether this simple change fixes the issue without introducing unintended consequences, but it felt such a small and obvious change that I thought I'd try anyway.

simoneb commented 1 year ago

The build is broken for Node 16 but it's broken on master as well. On Node 18 the build is green.