File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 6
6
- Return passed ` record ` instead of resulting record from mongodb calls to
7
7
enable using newer mongodb driver.
8
8
- Use ` result.modifiedCount ` to enable newer mongodb driver.
9
+ - Remove unused ` background ` option from mongodb index creation.
9
10
10
11
## 10.1.0 - 2025-01-23
11
12
Original file line number Diff line number Diff line change @@ -301,12 +301,12 @@ function _createStorageInitializer({collectionName} = {}) {
301
301
// cover queries config by ID
302
302
collection : collectionName ,
303
303
fields : { 'config.id' : 1 } ,
304
- options : { unique : true , background : false }
304
+ options : { unique : true }
305
305
} , {
306
306
// cover config queries by controller
307
307
collection : collectionName ,
308
308
fields : { 'config.controller' : 1 } ,
309
- options : { unique : false , background : false }
309
+ options : { unique : false }
310
310
} , {
311
311
// cover counting configs in use by meter ID, if present
312
312
collection : collectionName ,
@@ -315,7 +315,7 @@ function _createStorageInitializer({collectionName} = {}) {
315
315
partialFilterExpression : {
316
316
'config.meterId' : { $exists : true }
317
317
} ,
318
- unique : false , background : false
318
+ unique : false
319
319
}
320
320
} ] ) ;
321
321
} ) ;
You can’t perform that action at this time.
0 commit comments