Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce v3 kathy frequency #3104

Merged
merged 7 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
nambrot marked this conversation as resolved.
Show resolved Hide resolved
},
};

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
nambrot marked this conversation as resolved.
Show resolved Hide resolved
},
messageSendTimeout: 1000 * 60 * 10, // 10 min
messageReceiptTimeout: 1000 * 60 * 20, // 20 min
Expand Down
Loading