Improve performance.
This commit is contained in:
parent
02ba0f25d3
commit
1061e177b2
6 changed files with 29 additions and 9 deletions
|
@ -16,6 +16,7 @@ class CurlBuilder
|
|||
curl = ->
|
||||
curl.perform.apply curl, arguments
|
||||
|
||||
curl.Curl = Curl
|
||||
curl.perform = (args...) ->
|
||||
if @running
|
||||
throw new Error 'the cURL session is busy, use curl.create to create another cURL Session'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue