mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-23 22:56:49 +09:00
Extend slow query threshold to reduce logs (MisskeyIO#171)
This commit is contained in:
parent
760fe8cfcc
commit
f6383afe46
@ -240,7 +240,7 @@ export function createPostgresDataSource(config: Config) {
|
||||
} : false,
|
||||
logging: log,
|
||||
logger: log ? new MyCustomLogger() : undefined,
|
||||
maxQueryExecutionTime: 300,
|
||||
maxQueryExecutionTime: 10000, // 10s
|
||||
entities: entities,
|
||||
migrations: ['../../migration/*.js'],
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user