diff options
| author | ruki <[email protected]> | 2019-12-12 22:52:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-12-12 11:12:55 +0800 |
| commit | bfbdaf039adfd2c145f17b256772d52cb97c8d19 (patch) | |
| tree | 6b595bf216e4e853939ecb522fd612582d683884 /tests/modules/socket/sched_tcp/echo_client.lua | |
| parent | bffe4246267d83833234ec0a3819dd5c060687c2 (diff) | |
improve poller
Diffstat (limited to 'tests/modules/socket/sched_tcp/echo_client.lua')
| -rw-r--r-- | tests/modules/socket/sched_tcp/echo_client.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modules/socket/sched_tcp/echo_client.lua b/tests/modules/socket/sched_tcp/echo_client.lua index 50e8c6dcd..f9c993729 100644 --- a/tests/modules/socket/sched_tcp/echo_client.lua +++ b/tests/modules/socket/sched_tcp/echo_client.lua @@ -22,7 +22,7 @@ end function main(count) count = count and tonumber(count) or 1 for i = 1, count do - scheduler.run(_session, "127.0.0.1", 9001) + scheduler.co_start(_session, "127.0.0.1", 9001) end scheduler.runloop() end |
