MCPcopy Create free account
hub / github.com/dfinity/orbit / bump_time_to_avoid_ratelimit

Function bump_time_to_avoid_ratelimit

tests/integration/src/utils.rs:988–991  ·  view source on GitHub ↗
(env: &PocketIc)

Source from the content-addressed store, hash-verified

986}
987
988pub fn bump_time_to_avoid_ratelimit(env: &PocketIc) {
989 // the rate limiter aggregation window is 300s and resolution is 10s
990 env.advance_time(Duration::from_secs(300 + 10));
991}
992
993#[derive(CandidType)]
994struct StoreArg {

Callers 4

test_rate_limitFunction · 0.85
cancel_pending_requestsFunction · 0.85

Calls

no outgoing calls

Tested by 4

test_rate_limitFunction · 0.68
cancel_pending_requestsFunction · 0.68