add different polling intervals for ssh and local backends. ssh has a

longer roundtrip
This commit is contained in:
alt-glitch 2026-03-15 02:33:04 +05:30
parent 879b7d3fbf
commit e266530c7d
2 changed files with 4 additions and 1 deletions

View file

@ -77,6 +77,8 @@ class SSHEnvironment(PersistentShellMixin, BaseEnvironment):
except subprocess.TimeoutExpired:
raise RuntimeError(f"SSH connection to {self.user}@{self.host} timed out")
_poll_interval: float = 0.15
@property
def _temp_prefix(self) -> str:
return f"/tmp/hermes-ssh-{self._session_id}"