Merge pull request #8344 from freqtrade/fix/db_concurrent

Fix db concurrent problem
This commit is contained in:
Matthias
2023-03-20 18:17:09 +01:00
committed by GitHub
4 changed files with 41 additions and 9 deletions

View File

@@ -83,6 +83,8 @@ def authorized_only(command_handler: Callable[..., None]) -> Callable[..., Any]:
self._send_msg(str(e))
except BaseException:
logger.exception('Exception occurred within Telegram module')
finally:
Trade.session.remove()
return wrapper