1
0
mirror of https://github.com/wg/wrk synced 2025-02-09 03:22:52 +08:00
wrk/scripts/delay.lua

7 lines
141 B
Lua
Raw Normal View History

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