Skip to content

fix(server): remove boss.connect() and expose boss object directly

Yannis Barlas requested to merge pg-boss-upgrade-fix into master

boss.connect() and boss.disconnect() are no longer valid functions. This makes connect simply invoke start.
API is kept the same to avoid breaking changes.
Also added the boss object (that was created with new PgBoss) to exports.

Merge request reports