Skip to content

Commit c76cbd3

Browse files
fix settings
1 parent 8ea33e6 commit c76cbd3

File tree

1 file changed

+25
-19
lines changed
  • services/storage/src/simcore_service_storage/core

1 file changed

+25
-19
lines changed

services/storage/src/simcore_service_storage/core/settings.py

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -71,29 +71,35 @@ class ApplicationSettings(BaseApplicationSettings, MixinLoggingSettings):
7171
Field(
7272
30,
7373
description="Interval in seconds when task cleaning pending uploads runs. setting to NULL disables the cleaner.",
74+
),
75+
]
76+
77+
STORAGE_RABBITMQ: Annotated[
78+
RabbitSettings | None,
79+
Field(
80+
json_schema_extra={"auto_default_from_env": True},
81+
)
82+
]
7483

75-
STORAGE_CLEANER_INTERVAL_S: int | None = Field(
76-
30,
77-
description="Interval in seconds when task cleaning pending uploads runs. setting to NULL disables the cleaner.",
78-
)
79-
80-
STORAGE_RABBITMQ: RabbitSettings | None = Field(
81-
json_schema_extra={"auto_default_from_env": True},
82-
)
83-
84-
STORAGE_S3_CLIENT_MAX_TRANSFER_CONCURRENCY: int = Field(
85-
4,
86-
description="Maximal amount of threads used by underlying S3 client to transfer data to S3 backend",
87-
)
88-
89-
STORAGE_LOG_FORMAT_LOCAL_DEV_ENABLED: bool = Field(
90-
default=False,
91-
validation_alias=AliasChoices(
92-
"STORAGE_LOG_FORMAT_LOCAL_DEV_ENABLED",
93-
"LOG_FORMAT_LOCAL_DEV_ENABLED",
84+
STORAGE_S3_CLIENT_MAX_TRANSFER_CONCURRENCY: Annotated[
85+
int,
86+
Field(
87+
4,
88+
description="Maximal amount of threads used by underlying S3 client to transfer data to S3 backend",
9489
),
9590
]
9691

92+
STORAGE_LOG_FORMAT_LOCAL_DEV_ENABLED: Annotated[
93+
bool,
94+
Field(
95+
default=False,
96+
validation_alias=AliasChoices(
97+
"STORAGE_LOG_FORMAT_LOCAL_DEV_ENABLED",
98+
"LOG_FORMAT_LOCAL_DEV_ENABLED",
99+
),
100+
)
101+
]
102+
97103
STORAGE_RABBITMQ: Annotated[
98104
RabbitSettings | None,
99105
Field(

0 commit comments

Comments
 (0)