diff options
author | Aliaksandr Valialkin <valyala@gmail.com> | 2016-02-19 12:53:39 +0200 |
---|---|---|
committer | Aliaksandr Valialkin <valyala@gmail.com> | 2016-02-19 12:53:39 +0200 |
commit | 5a26dcce53cbf2c6838027bf3531be9a75a1d6e8 (patch) | |
tree | 9bbd22fc2d792bacca7f3873b2d007e1936dfe78 /uri_test.go | |
parent | Added LogAllErrors config parameter to Server, which allows logging the most ... (diff) | |
download | fasthttp-5a26dcce53cbf2c6838027bf3531be9a75a1d6e8.tar.gz fasthttp-5a26dcce53cbf2c6838027bf3531be9a75a1d6e8.tar.bz2 fasthttp-5a26dcce53cbf2c6838027bf3531be9a75a1d6e8.zip |
Added AcquireArgs and ReleaseArgs helper functions
Diffstat (limited to 'uri_test.go')
-rw-r--r-- | uri_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uri_test.go b/uri_test.go index dc372da..5d489f5 100644 --- a/uri_test.go +++ b/uri_test.go @@ -12,7 +12,7 @@ func TestURIAcquireReleaseSequential(t *testing.T) { } func TestURIAcquireReleaseConcurrent(t *testing.T) { - ch := make(chan struct{}) + ch := make(chan struct{}, 10) for i := 0; i < 10; i++ { go func() { testURIAcquireRelease(t) |