From 8963a26ed6f1390eba3f214bee390d060742f93f Mon Sep 17 00:00:00 2001 From: David Brazda Date: Fri, 24 Nov 2023 22:18:12 +0100 Subject: [PATCH] bugfix --- v2realbot/controller/services.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/v2realbot/controller/services.py b/v2realbot/controller/services.py index da1b6e2..bbe0f74 100644 --- a/v2realbot/controller/services.py +++ b/v2realbot/controller/services.py @@ -308,10 +308,10 @@ def capsule(target: object, db: object, inter_batch_params: dict = None): print("Strategy instance stopped. Update runners") reason = None - if target.se.is_set(): - print("STOP FLAG IS SET - cancel BATCH") - inter_batch_params["stop"] = True - reason = "STOP Signal received" + # if target.se.is_set(): + # print("STOP FLAG IS SET - cancel BATCH") + # inter_batch_params["stop"] = True + # reason = "STOP Signal received" except Exception as e: reason = "SHUTDOWN Exception:" + str(e) + format_exc()