fix: add persist timer, rm ssl
This commit is contained in:
@@ -26,11 +26,7 @@ const pgBossConnectionString = `postgres://${process.env.DB_USER}:${encodeURICom
|
||||
*/
|
||||
export const pgBossClient = new PgBoss({
|
||||
connectionString: pgBossConnectionString,
|
||||
max: 3, // Small pool since we only send jobs
|
||||
ssl: {
|
||||
require: true,
|
||||
rejectUnauthorized: false,
|
||||
},
|
||||
max: 3,
|
||||
});
|
||||
|
||||
let isStarted = false;
|
||||
|
||||
Reference in New Issue
Block a user