Skip to content

Commit

Permalink
Reduce v3 kathy frequency
Browse files Browse the repository at this point in the history
  • Loading branch information
nambrot committed Dec 25, 2023
1 parent 0e60c22 commit b3cc837
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: 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)
},
};

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 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
Expand Down

0 comments on commit b3cc837

Please sign in to comment.