From 1adce84e336f85d7a91701e5a70b9e460e739108 Mon Sep 17 00:00:00 2001 From: Nam Chu Hoai Date: Tue, 30 Jan 2024 17:03:23 -0500 Subject: [PATCH] Reduce v3 kathy frequency (#3104) ### Description Reduces frequency so that we only send roughly once every hour - [x] Reduce alert thresholds - [x] Deploy --- typescript/infra/config/environments/mainnet3/helloworld.ts | 4 ++-- typescript/infra/config/environments/testnet4/helloworld.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/typescript/infra/config/environments/mainnet3/helloworld.ts b/typescript/infra/config/environments/mainnet3/helloworld.ts index c8e346796f..011aa767e6 100644 --- a/typescript/infra/config/environments/mainnet3/helloworld.ts +++ b/typescript/infra/config/environments/mainnet3/helloworld.ts @@ -20,12 +20,12 @@ export const hyperlane: HelloWorldConfig = { namespace: environment, runConfig: { mode: HelloWorldKathyRunMode.Service, - fullCycleTime: 1000 * 60 * 60 * 24, // every 24 hours + fullCycleTime: 1000 * 60 * 60 * 24 * 5, // every 5 days, 13 * 12 messages = 156 messages is little less than once an hour }, messageSendTimeout: 1000 * 60 * 8, // 8 min messageReceiptTimeout: 1000 * 60 * 20, // 20 min connectionType: RpcConsensusType.Fallback, - cyclesBetweenEthereumMessages: 3, // Skip 3 cycles of Ethereum, i.e. send/receive Ethereum messages every 32 hours. + cyclesBetweenEthereumMessages: 1, // Skip 1 cycle of Ethereum, i.e. send/receive Ethereum messages every 5 days (not great since we still send like 12 in that cycle) }, }; diff --git a/typescript/infra/config/environments/testnet4/helloworld.ts b/typescript/infra/config/environments/testnet4/helloworld.ts index c375be27c9..475a80a709 100644 --- a/typescript/infra/config/environments/testnet4/helloworld.ts +++ b/typescript/infra/config/environments/testnet4/helloworld.ts @@ -20,7 +20,7 @@ export const hyperlaneHelloworld: HelloWorldConfig = { namespace: environment, runConfig: { mode: HelloWorldKathyRunMode.Service, - fullCycleTime: 1000 * 60 * 60 * 48, // every 48 hours + fullCycleTime: 1000 * 60 * 60 * 24 * 6, // every 6 days. At 12 chains it 12 * 11 messages = 132 messages its a bit less than once an hour }, messageSendTimeout: 1000 * 60 * 10, // 10 min messageReceiptTimeout: 1000 * 60 * 20, // 20 min