timgit / pg-boss

Queueing jobs in Postgres from Node.js like a boss
MIT License
2.15k stars 160 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 ?