timgit / pg-boss

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

fix: add work overloads fix batchSize typing #402

Closed nomocas closed 1 year ago

nomocas commented 1 year ago

Closes #401

nomocas commented 1 year ago

Hi again,

The fail is weird regarding the commited change, which is just about the typing that is not used in any test, as all tests are pure JS.

Also, the test that is failing is not related to batchSize. (But whatever, as said above, the typing has nothing to do with the tests)

Build error:

retries
       should retry with a exponential backoff:
      AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

Of course, when I launch all the tests locally, no error.

Any idea ?