From b3cc837df7f29ccc2c834bb1d3735a8def62f79b Mon Sep 17 00:00:00 2001 From: nambrot Date: Mon, 25 Dec 2023 20:05:57 +0100 Subject: [PATCH] Reduce v3 kathy frequency --- 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..6eab4e9a7d 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: 2, // 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..f6145b4b08 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 5 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