Skip to content

Commit

Permalink
Remove heartbeat constants
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbern committed Nov 22, 2024
1 parent 56fd7e0 commit 2fa61ca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions modal/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
from .config import _check_config, _is_remote, config, logger
from .exception import AuthError, ClientClosed, ConnectionError, DeprecationError, VersionError

HEARTBEAT_INTERVAL: float = config.get("heartbeat_interval")
HEARTBEAT_TIMEOUT: float = HEARTBEAT_INTERVAL + 0.1
CLIENT_CREATE_ATTEMPT_TIMEOUT: float = 4.0
CLIENT_CREATE_TOTAL_TIMEOUT: float = 15.0

Expand Down
1 change: 0 additions & 1 deletion modal/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ class _Setting(typing.NamedTuple):
"logs_timeout": _Setting(10, float),
"image_id": _Setting(),
"automount": _Setting(True, transform=_to_boolean),
"heartbeat_interval": _Setting(15, float),
"function_runtime": _Setting(),
"function_runtime_debug": _Setting(False, transform=_to_boolean), # For internal debugging use.
"runtime_perf_record": _Setting(False, transform=_to_boolean), # For internal debugging use.
Expand Down

0 comments on commit 2fa61ca

Please sign in to comment.