comparison third_party/wrk/scripts/stop.lua @ 186:8cf4ec5e2191 hg-web

Fixed merge conflict.
author MrJuneJune <me@mrjunejune.com>
date Fri, 23 Jan 2026 22:38:59 -0800
parents 94705b5986b3
children
comparison
equal deleted inserted replaced
176:fed99fc04e12 186:8cf4ec5e2191
1 -- example script that demonstrates use of thread:stop()
2
3 local counter = 1
4
5 function response()
6 if counter == 100 then
7 wrk.thread:stop()
8 end
9 counter = counter + 1
10 end