pipeline.lua 191 B

123456789101112
  1. init = function(args)
  2. local r = {}
  3. local depth = tonumber(args[1]) or 1
  4. for i=1,depth do
  5. r[i] = wrk.format()
  6. end
  7. req = table.concat(r)
  8. end
  9. request = function()
  10. return req
  11. end