finished qm symbols / sessions
This commit is contained in:
parent
34671ea427
commit
52436c69b2
6 changed files with 77 additions and 29 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import type { Logger } from '@stock-bot/core/logger';
|
||||
import type { OptionalUnlessRequiredId } from 'mongodb';
|
||||
import { Collection, Db, MongoClient } from 'mongodb';
|
||||
import type { Logger } from '@stock-bot/core/logger';
|
||||
import type {
|
||||
ConnectionEvents,
|
||||
DocumentBase,
|
||||
|
|
@ -227,7 +227,7 @@ export class MongoDBClient {
|
|||
let totalUpdated = 0;
|
||||
const errors: unknown[] = [];
|
||||
|
||||
this.logger.info(
|
||||
this.logger.debug(
|
||||
`Starting batch upsert operation [${collectionName}-${documents.length}][${operationId}]`,
|
||||
{
|
||||
database: dbName,
|
||||
|
|
@ -312,7 +312,7 @@ export class MongoDBClient {
|
|||
}
|
||||
}
|
||||
|
||||
this.logger.info(`Batch upsert completed [${operationId}]`, {
|
||||
this.logger.debug(`Batch upsert completed [${collectionName}-${documents.length}][${operationId}]`, {
|
||||
database: dbName,
|
||||
collection: collectionName,
|
||||
totalRecords: documents.length,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue