From f092e2e447f305b0643d80d03ae4ed179a675bd2 Mon Sep 17 00:00:00 2001 From: CounterFire2023 <136581895+CounterFire2023@users.noreply.github.com> Date: Mon, 15 Jan 2024 16:57:57 +0800 Subject: [PATCH] remove pm2 timestamp for logs --- src/service/event.batch.service.ts | 6 ++---- start_dev.json | 3 --- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/service/event.batch.service.ts b/src/service/event.batch.service.ts index 996bf36..af7faec 100644 --- a/src/service/event.batch.service.ts +++ b/src/service/event.batch.service.ts @@ -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 } -} \ No newline at end of file +} diff --git a/start_dev.json b/start_dev.json index 9c64510..fcd4183 100644 --- a/start_dev.json +++ b/start_dev.json @@ -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,