We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ba6d06 commit 124b299Copy full SHA for 124b299
simvue/run.py
@@ -466,10 +466,15 @@ def _start(self, reconnect: bool = False) -> bool:
466
self._start_time = time.time()
467
468
if self._sv_obj:
469
+ _changed = False
470
if self._sv_obj.status != "running":
471
self._sv_obj.status = self._status
- self._sv_obj.started = self._start_time
472
- self._sv_obj.commit()
+ _changed = True
473
+ if self._user_config.run.mode == "offline":
474
+ self._sv_obj.started = self._start_time
475
476
+ if _changed:
477
+ self._sv_obj.commit()
478
479
if self._pid == 0:
480
self._pid = os.getpid()
0 commit comments