Skip to content

Commit

Permalink
Change settings.py times from int to float
Browse files Browse the repository at this point in the history
  • Loading branch information
haakonsf committed Apr 3, 2024
1 parent 4fb4039 commit 505f242
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/isar/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ def __init__(self) -> None:
UPLOAD_FAILURE_MAX_WAIT: int = Field(default=60)

# ISAR telemetry intervals
ROBOT_STATUS_PUBLISH_INTERVAL: int = Field(default=1)
ROBOT_HEARTBEAT_PUBLISH_INTERVAL: int = Field(default=1)
ROBOT_INFO_PUBLISH_INTERVAL: int = Field(default=5)
ROBOT_API_STATUS_POLL_INTERVAL: int = Field(default=5)
ROBOT_STATUS_PUBLISH_INTERVAL: float = Field(default=1)
ROBOT_HEARTBEAT_PUBLISH_INTERVAL: float = Field(default=1)
ROBOT_INFO_PUBLISH_INTERVAL: float = Field(default=5)
ROBOT_API_STATUS_POLL_INTERVAL: float = Field(default=5)

# FastAPI host
API_HOST_VIEWED_EXTERNALLY: str = Field(default="0.0.0.0")
Expand Down

0 comments on commit 505f242

Please sign in to comment.