update default timeouts

This commit is contained in:
Timothy Pogue 2022-09-08 10:54:31 -06:00
parent b3b0c918d9
commit fac6626459
2 changed files with 5 additions and 5 deletions

View File

@ -187,9 +187,9 @@
"ws_token": "a_secret_ws_token"
}
],
"reply_timeout": 10,
"reply_timeout": 30,
"ping_timeout": 5,
"sleep_time": 5,
"sleep_time": 10,
"remove_entry_exit_signals": false
},
"bot_name": "freqtrade",

View File

@ -58,9 +58,9 @@ class ExternalMessageConsumer:
if self.enabled and len(self.producers) < 1:
raise ValueError("You must specify at least 1 Producer to connect to.")
self.reply_timeout = self._emc_config.get('reply_timeout', 10)
self.ping_timeout = self._emc_config.get('ping_timeout', 2)
self.sleep_time = self._emc_config.get('sleep_time', 5)
self.reply_timeout = self._emc_config.get('reply_timeout', 30)
self.ping_timeout = self._emc_config.get('ping_timeout', 5)
self.sleep_time = self._emc_config.get('sleep_time', 10)
# The amount of candles per dataframe on the initial request
self.initial_candle_limit = self._emc_config.get('initial_candle_limit', 1500)