Skip to content

Commit 2b4e923

Browse files
committed
Merge branch 'master' into release/current
2 parents c93ffcf + c5fecb9 commit 2b4e923

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

pycti/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
__version__ = "6.7.11"
2+
__version__ = "6.7.14"
33

44
from .api.opencti_api_client import OpenCTIApiClient
55
from .api.opencti_api_connector import OpenCTIApiConnector

pycti/connector/opencti_connector_helper.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -783,9 +783,10 @@ def run(self) -> None: # pylint: disable=too-many-branches
783783
# state can be None if reset from the UI
784784
# In this case, default parameters will be used but SSE Client needs to be restarted
785785
if state is None:
786-
self.exit = True
787-
state["start_from"] = str(msg.id)
788-
self.helper.set_state(state)
786+
self.exit_event.set()
787+
else:
788+
state["start_from"] = str(msg.id)
789+
self.helper.set_state(state)
789790
except Exception as ex:
790791
self.helper.connector_logger.error(
791792
"Error in ListenStream loop, exit.", {"reason": str(ex)}

0 commit comments

Comments
 (0)