timgit / pg-boss

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

db.lock is not a function #459

Closed eloff closed 4 months ago

eloff commented 4 months 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 4 months ago

This should be resolved