File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6969 "jest" : {
7070 "testEnvironment" : " node"
7171 }
72- }
72+ }
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ let agendaPromise;
1010
1111/**
1212 * Initializes and returns a singleton Agenda instance.
13- *
13+ *
1414 * This uses a MongoDB URI extracted from a Mongoose v8 connection,
1515 * ensuring full compatibility with Agenda's expected configuration shape.
16- *
16+ *
1717 * Notes on Mongoose v8 compatibility:
1818 * - Mongoose v8 removed global buffering; `bufferCommands: false` is used in the loader.
1919 * - `mongoose.createConnection()` returns a `Connection` instance.
@@ -36,7 +36,7 @@ const getAgenda = async () => {
3636 db : {
3737 address : uri ,
3838 disableAutoIndex : true ,
39- }
39+ } ,
4040 } ) ;
4141
4242 logger . log ( 'Starting Agenda worker...' ) ;
You can’t perform that action at this time.
0 commit comments