mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
requester: purge max request jobs (#1379)
* requester: purge max request jobs * request: rm unused error --------- Co-authored-by: shazbert <ryan.oharareid@thrasher.io>
This commit is contained in:
@@ -214,12 +214,6 @@ func validateSettings(b *Engine, s *Settings, flagSet FlagSet) {
|
||||
b.Settings.EventManagerDelay = EventSleepDelay
|
||||
}
|
||||
|
||||
// Checks if the flag values are different from the defaults
|
||||
if b.Settings.MaxHTTPRequestJobsLimit != int(request.DefaultMaxRequestJobs) &&
|
||||
b.Settings.MaxHTTPRequestJobsLimit > 0 {
|
||||
request.MaxRequestJobs = int32(b.Settings.MaxHTTPRequestJobsLimit)
|
||||
}
|
||||
|
||||
if b.Settings.TradeBufferProcessingInterval != trade.DefaultProcessorIntervalTime {
|
||||
if b.Settings.TradeBufferProcessingInterval >= time.Second {
|
||||
trade.BufferProcessorIntervalTime = b.Settings.TradeBufferProcessingInterval
|
||||
|
||||
@@ -92,7 +92,6 @@ type ExchangeTuningSettings struct {
|
||||
DisableExchangeAutoPairUpdates bool
|
||||
EnableExchangeRESTSupport bool
|
||||
EnableExchangeWebsocketSupport bool
|
||||
MaxHTTPRequestJobsLimit int
|
||||
TradeBufferProcessingInterval time.Duration
|
||||
RequestMaxRetryAttempts int
|
||||
AlertSystemPreAllocationCommsBuffer int // See exchanges/alert.go
|
||||
|
||||
Reference in New Issue
Block a user