Skip to content

Commit 1ae29f8

Browse files
committed
πŸ› Re-applied fixes from dev
1 parent 99bfa42 commit 1ae29f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

β€Žsimvue/sender/actions.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ def _single_item_upload(
944944
cache_directory.joinpath(f"runs/{identifier}.heartbeat").unlink()
945945
return
946946

947-
_local_config: SimvueConfiguration = SimvueConfiguration.fetch()
947+
_local_config: SimvueConfiguration = SimvueConfiguration.fetch(mode="online")
948948

949949
cls.logger.info("Sending heartbeat to run '%s'", identifier)
950950

β€Žsimvue/sender/base.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __init__(
6363
retry_failed_uploads : bool, optional
6464
Whether to retry sending objects which previously failed, by default False
6565
"""
66-
_local_config: SimvueConfiguration = SimvueConfiguration.fetch()
66+
_local_config: SimvueConfiguration = SimvueConfiguration.fetch(mode="online")
6767
self._cache_directory = cache_directory or _local_config.offline.cache
6868
self._cache_directory.joinpath("server_ids").mkdir(parents=True, exist_ok=True)
6969
self._throw_exceptions = throw_exceptions

0 commit comments

Comments
Β (0)