remove pm2 timestamp for logs

This commit is contained in:
CounterFire2023 2024-01-15 16:57:57 +08:00
parent 5ef4c8563e
commit f092e2e447
2 changed files with 2 additions and 7 deletions

View File

@ -1,5 +1,5 @@
import { IChain } from "chain/allchain";
import { batchEthLogs, ethBlockNumber, ethGetLogs, retryEthBlockNumber } from "chain/chain.api";
import { batchEthLogs, ethGetLogs, retryEthBlockNumber } from "chain/chain.api";
import logger from "logger/logger";
import { GeneralEvent } from "models/GeneralEvent";
@ -17,8 +17,6 @@ let eventProcessers = {
NftStake: NftStake
}
const MAX_TOPICS = 4
export class EventBatchSvr {
chainCfg: IChain
eventCfgs: IEventCfg[] = []
@ -176,4 +174,4 @@ export class EventBatchSvr {
}
return blockNumber
}
}
}

View File

@ -5,7 +5,6 @@
"script": "./dist/api.js",
"cwd": "/root/code/web_chain_client",
"max_memory_restart": "1024M",
"log_date_format": "YYYY-MM-DD HH:mm Z",
"watch": false,
"ignore_watch": ["node_modules", "logs", "fixtures", "tasks"],
"instances": 1,
@ -23,7 +22,6 @@
"script": "./dist/scriptions.js",
"cwd": "/root/code/web_chain_client",
"max_memory_restart": "1024M",
"log_date_format": "YYYY-MM-DD HH:mm Z",
"watch": false,
"ignore_watch": ["node_modules", "logs", "fixtures", "tasks"],
"instances": 1,
@ -41,7 +39,6 @@
"script": "./dist/events.js",
"cwd": "/root/code/web_chain_client",
"max_memory_restart": "1024M",
"log_date_format": "YYYY-MM-DD HH:mm Z",
"watch": false,
"ignore_watch": ["node_modules", "logs", "fixtures", "tasks"],
"instances": 1,