mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
alert: Add optimizations (#939)
* alert: Add optimizations * alert: add basic benchmarks * alert: fix linter issue * documentation: change to text/template as html/template escapes to protect against code injection. Add readme.md for alert. * README: Add package name * alert: link up with engine settings * request: isVerbose refactor * Update exchanges/alert/alert_test.go Co-authored-by: Scott <gloriousCode@users.noreply.github.com> * Update exchanges/alert/alert.go Co-authored-by: Scott <gloriousCode@users.noreply.github.com> * glorious: nits * glorious: fun police * documentation: regen Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io> Co-authored-by: Scott <gloriousCode@users.noreply.github.com>
This commit is contained in:
@@ -60,17 +60,18 @@ type Settings struct {
|
||||
EnableExchangeRateHost bool
|
||||
|
||||
// Exchange tuning settings
|
||||
EnableExchangeHTTPRateLimiter bool
|
||||
EnableExchangeHTTPDebugging bool
|
||||
EnableExchangeVerbose bool
|
||||
ExchangePurgeCredentials bool
|
||||
EnableExchangeAutoPairUpdates bool
|
||||
DisableExchangeAutoPairUpdates bool
|
||||
EnableExchangeRESTSupport bool
|
||||
EnableExchangeWebsocketSupport bool
|
||||
MaxHTTPRequestJobsLimit int
|
||||
TradeBufferProcessingInterval time.Duration
|
||||
RequestMaxRetryAttempts int
|
||||
EnableExchangeHTTPRateLimiter bool
|
||||
EnableExchangeHTTPDebugging bool
|
||||
EnableExchangeVerbose bool
|
||||
ExchangePurgeCredentials bool
|
||||
EnableExchangeAutoPairUpdates bool
|
||||
DisableExchangeAutoPairUpdates bool
|
||||
EnableExchangeRESTSupport bool
|
||||
EnableExchangeWebsocketSupport bool
|
||||
MaxHTTPRequestJobsLimit int
|
||||
TradeBufferProcessingInterval time.Duration
|
||||
RequestMaxRetryAttempts int
|
||||
AlertSystemPreAllocationCommsBuffer int // See exchanges/alert.go
|
||||
|
||||
// Global HTTP related settings
|
||||
GlobalHTTPTimeout time.Duration
|
||||
|
||||
Reference in New Issue
Block a user