mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
update default timeouts
This commit is contained in:
parent
b3b0c918d9
commit
fac6626459
|
@ -187,9 +187,9 @@
|
||||||
"ws_token": "a_secret_ws_token"
|
"ws_token": "a_secret_ws_token"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"reply_timeout": 10,
|
"reply_timeout": 30,
|
||||||
"ping_timeout": 5,
|
"ping_timeout": 5,
|
||||||
"sleep_time": 5,
|
"sleep_time": 10,
|
||||||
"remove_entry_exit_signals": false
|
"remove_entry_exit_signals": false
|
||||||
},
|
},
|
||||||
"bot_name": "freqtrade",
|
"bot_name": "freqtrade",
|
||||||
|
|
|
@ -58,9 +58,9 @@ class ExternalMessageConsumer:
|
||||||
if self.enabled and len(self.producers) < 1:
|
if self.enabled and len(self.producers) < 1:
|
||||||
raise ValueError("You must specify at least 1 Producer to connect to.")
|
raise ValueError("You must specify at least 1 Producer to connect to.")
|
||||||
|
|
||||||
self.reply_timeout = self._emc_config.get('reply_timeout', 10)
|
self.reply_timeout = self._emc_config.get('reply_timeout', 30)
|
||||||
self.ping_timeout = self._emc_config.get('ping_timeout', 2)
|
self.ping_timeout = self._emc_config.get('ping_timeout', 5)
|
||||||
self.sleep_time = self._emc_config.get('sleep_time', 5)
|
self.sleep_time = self._emc_config.get('sleep_time', 10)
|
||||||
|
|
||||||
# The amount of candles per dataframe on the initial request
|
# The amount of candles per dataframe on the initial request
|
||||||
self.initial_candle_limit = self._emc_config.get('initial_candle_limit', 1500)
|
self.initial_candle_limit = self._emc_config.get('initial_candle_limit', 1500)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user