mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
Update request.go to fix concurrency nonce issues (#285)
* Updates nonce generation to adhere to fifo channel buffer before request executes by routine * removed unused variables, lns etc * Fix requested changes and added in timer that disengages lock if out of scope error occurs * Fixed woopsy daisy issue * Add benchmark, reduce time in force to unlock before stack insertion, add nil check for edge case * Remove unusued waitgroup field * use return nonce.Value and method, rm redundant nonce code, fix tests. * Fix linter issue: unnecessary conversion
This commit is contained in:
committed by
Adrian Gallagher
parent
1967507d40
commit
35b94268e0
14
testdata/configtest.json
vendored
14
testdata/configtest.json
vendored
@@ -1319,5 +1319,19 @@
|
||||
"supportedExchanges": "ANX,Kraken"
|
||||
}
|
||||
],
|
||||
"connectionMonitor": {
|
||||
"preferredDNSList": [
|
||||
"8.8.8.8",
|
||||
"8.8.4.4",
|
||||
"1.1.1.1",
|
||||
"1.0.0.1"
|
||||
],
|
||||
"preferredDomainList": [
|
||||
"www.google.com",
|
||||
"www.cloudflare.com",
|
||||
"www.facebook.com"
|
||||
],
|
||||
"checkInterval": 1000000000
|
||||
},
|
||||
"fiatDispayCurrency": ""
|
||||
}
|
||||
Reference in New Issue
Block a user