flush db connection after forcesell

This commit is contained in:
gcarq 2018-06-08 02:35:10 +02:00
parent 7f881cce85
commit 61b2373dd1

View File

@ -354,6 +354,7 @@ class RPC(object):
return True, 'Invalid argument.' return True, 'Invalid argument.'
_exec_forcesell(trade) _exec_forcesell(trade)
Trade.session.flush()
return False, '' return False, ''
def rpc_performance(self) -> Tuple[bool, Any]: def rpc_performance(self) -> Tuple[bool, Any]: