Skip to content

Commit

Permalink
Decrease the ingress expiry default to 3 min
Browse files Browse the repository at this point in the history
Decrease the ingress expiry default.

Adding a message to be processed takes the order of seconds. We can expiry messages more aggressively.
  • Loading branch information
rumenov authored Sep 30, 2024
1 parent 7a109b9 commit fbfcc10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ic-agent/src/agent/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@ impl Agent {
}
}

const DEFAULT_INGRESS_EXPIRY: Duration = Duration::from_secs(240);
const DEFAULT_INGRESS_EXPIRY: Duration = Duration::from_secs(180);

// Checks if a principal is contained within a list of principal ranges
// A range is a tuple: (low: Principal, high: Principal), as described here: https://internetcomputer.org/docs/current/references/ic-interface-spec#state-tree-subnet
Expand Down

0 comments on commit fbfcc10

Please sign in to comment.