Searched refs:rate (Results 1 – 2 of 2) sorted by relevance
1438 int rate = luaL_checkinteger(L, 2); in mcplib_log_reqsample() local1460 } else if (rate > 0) { in mcplib_log_reqsample()1463 uint32_t rnd = (uint64_t)_nextrand(t->proxy_rng) * (uint64_t)rate >> 32; in mcplib_log_reqsample()
84 "counter % rate == 0" check. Setting to 1000 means one out of every 1000