Skip to content

Commit 9127eff

Browse files
committed
Speedup test.
1 parent 338acbc commit 9127eff

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Lua-cURLv2 binding has several problems:
3939
## Installation
4040

4141
```
42-
luarocks install lcurl --server=https://rocks.moonscript.org/dev
42+
luarocks install lua-curl --server=https://rocks.moonscript.org/dev
4343
```
4444

4545
## Usage

test/test_pause02.c.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ local curl = require "lcurl"
33
-- How many times curl_multi_perform should be called before hitting of CURLPAUSE_CONT.
44
-- (including curl_multi_perform that causes WriteFunction to pause writes,
55
-- i.e. 1 means that CURLPAUSE_CONT will be performed immediately after pause.)
6-
local WAIT_COUNT = 32
6+
local WAIT_COUNT = 15
77

8-
local SIZE = 100 * 1024
8+
local SIZE = 10 * 1024
99
local RESOURCE_URL = "http://httpbin.org/bytes/" .. SIZE
1010

1111
local State = {

0 commit comments

Comments
 (0)