1
0
mirror of https://github.com/wg/wrk synced 2025-01-08 23:32:54 +08:00
wrk/scripts/delay.lua
2015-05-08 14:54:10 +09:00

7 lines
141 B
Lua

-- example script that demonstrates adding a random
-- 10-50ms delay before each request
function delay()
return math.random(10, 50)
end