Skip to content

Commit 8987294

Browse files
bootstrap: bootstrap: Restart timer when core start
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
1 parent d486b4b commit 8987294

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bootstrap/bootstrap/bootstrap.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@ def start(self, component_name: str) -> bool:
224224
return False
225225

226226
logger.info(f"{component_name} ({docker_name}) started")
227+
# Restart counter with new core
228+
self.core_last_response_time = time.monotonic()
227229
return True
228230

229231
def is_running(self, component: str) -> bool:

0 commit comments

Comments
 (0)