mirror of
https://github.com/docmost/docmost.git
synced 2025-11-23 03:01:11 +10:00
Implement BullMQ for background job processing
* new REDIS_URL environment variable
This commit is contained in:
@ -41,11 +41,11 @@ types.setTypeParser(types.builtins.INT8, (val) => Number(val));
|
||||
log: (event: LogEvent) => {
|
||||
if (environmentService.getEnv() !== 'development') return;
|
||||
if (event.level === 'query') {
|
||||
console.log(event.query.sql);
|
||||
// console.log(event.query.sql);
|
||||
//if (event.query.parameters.length > 0) {
|
||||
//console.log('parameters: ' + event.query.parameters);
|
||||
//}
|
||||
console.log('time: ' + event.queryDurationMillis);
|
||||
// console.log('time: ' + event.queryDurationMillis);
|
||||
}
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user