timgit / pg-boss

Queueing jobs in Postgres from Node.js like a boss
MIT License
1.95k stars 153 forks source link

db.lock is not a function #459

Closed eloff closed 1 month ago

eloff commented 1 month ago

onMontior calls this.db.lock({ key: 'monitor' }) which is not defined if you pass a custom db argument with executeSql function.

Presumably it can be implemented in terms of executeSql?

timgit commented 1 month ago

This should be resolved