Skip to content

Commit 65f31cf

Browse files
author
Andrei Neagu
committed
typo
1 parent 0bc2185 commit 65f31cf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

services/agent/src/simcore_service_agent/core/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ class ApplicationSettings(BaseCustomSettings, MixinLoggingSettings):
5353
AGENT_VOLUMES_CLEANUP_INTERVAL: timedelta = Field(
5454
timedelta(minutes=1), description="interval for running volumes removal"
5555
)
56-
AGENT_VOLUMES_CLENUP_BOOK_KEEPING_INTERVAL: timedelta = Field(
56+
AGENT_VOLUMES_CLEANUP_BOOK_KEEPING_INTERVAL: timedelta = Field(
5757
timedelta(minutes=1),
5858
description=(
5959
"interval at which to scan for unsued volumes and keep track since "
6060
"they were detected as being unused"
6161
),
6262
)
63-
AGENT_VOLUMES_CLENUP_REMOVE_VOLUMES_INACTIVE_FOR: timedelta = Field(
63+
AGENT_VOLUMES_CLEANUP_REMOVE_VOLUMES_INACTIVE_FOR: timedelta = Field(
6464
timedelta(minutes=65),
6565
description=(
6666
"if a volume is unused for more than this interval it can be removed. "

services/agent/src/simcore_service_agent/services/volumes_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ async def _on_startup() -> None:
174174

175175
volumes_manager = VolumesManager(
176176
app=app,
177-
book_keeping_interval=settings.AGENT_VOLUMES_CLENUP_BOOK_KEEPING_INTERVAL,
177+
book_keeping_interval=settings.AGENT_VOLUMES_CLEANUP_BOOK_KEEPING_INTERVAL,
178178
volume_cleanup_interval=settings.AGENT_VOLUMES_CLEANUP_INTERVAL,
179-
remove_volumes_inactive_for=settings.AGENT_VOLUMES_CLENUP_REMOVE_VOLUMES_INACTIVE_FOR.total_seconds(),
179+
remove_volumes_inactive_for=settings.AGENT_VOLUMES_CLEANUP_REMOVE_VOLUMES_INACTIVE_FOR.total_seconds(),
180180
)
181181
volumes_manager.set_to_app_state(app)
182182
await volumes_manager.setup()

0 commit comments

Comments
 (0)