Skip to content

Commit ebd8792

Browse files
chore: format
1 parent 7d28cd1 commit ebd8792

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@
6969
"jest": {
7070
"testEnvironment": "node"
7171
}
72-
}
72+
}

watcher/src/loaders/agenda.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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...');

0 commit comments

Comments
 (0)