1
0
mirror of https://github.com/wg/wrk synced 2025-03-10 15:57:16 +08:00
wrk/scripts/delay.lua

7 lines
141 B
Lua
Raw Permalink Normal View History

2015-05-08 14:54:10 +09:00
-- example script that demonstrates adding a random
-- 10-50ms delay before each request
function delay()
return math.random(10, 50)
end