Fix sending pending interactions

This commit is contained in:
Hakan Shehu
2024-11-29 23:22:19 +01:00
parent 2d693d06c6
commit 2e776648bd
3 changed files with 6 additions and 6 deletions

View File

@@ -2,16 +2,16 @@ import { app } from 'electron';
import pino, { Level } from 'pino';
const logConfig: Record<string, Level> = {
main: 'info',
'server-service': 'debug',
'file-service': 'debug',
main: 'trace',
'server-service': 'trace',
'file-service': 'trace',
};
class LogService {
public createLogger(name: string) {
return pino({
name,
level: logConfig[name] || 'info',
level: logConfig[name] || 'trace',
transport: !app.isPackaged
? {
target: 'pino-pretty',

View File

@@ -10,7 +10,7 @@ class LogService {
public createLogger(name: string) {
return pino({
name,
level: logConfig[name] || 'info',
level: logConfig[name] || 'trace',
transport: isDev
? {
target: 'pino-pretty',

View File

@@ -575,7 +575,7 @@ class SynapseService {
continue;
}
this.sendPendingTransactions(socketConnection, userId);
this.sendPendingInteractions(socketConnection, userId);
}
}
}