Skip to content

Commit

Permalink
Reduce v3 kathy frequency (#3104)
Browse files Browse the repository at this point in the history
### Description

Reduces frequency so that we only send roughly once every hour

- [x] Reduce alert thresholds
- [x] Deploy
  • Loading branch information
nambrot authored Jan 30, 2024
1 parent 8fe2483 commit 1adce84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions typescript/infra/config/environments/mainnet3/helloworld.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1adce84

Please sign in to comment.