File tree 1 file changed +2
-2
lines changed
services/web/server/src/simcore_service_webserver/resource_manager
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 7
7
8
8
import trafaret as T
9
9
from aiohttp .web import Application
10
- from pydantic import BaseSettings , PositiveInt , Field , conint
10
+ from pydantic import BaseSettings , PositiveInt , Field
11
11
12
12
from models_library .settings .redis import RedisConfig
13
13
from servicelib .application_keys import APP_CONFIG_KEY
@@ -46,7 +46,7 @@ class RedisSection(RedisConfig):
46
46
class ResourceManagerSettings (BaseSettings ):
47
47
enabled : bool = True
48
48
49
- resource_deletion_timeout_seconds : Optional [conint ( ge = 3 ) ] = Field (
49
+ resource_deletion_timeout_seconds : Optional [PositiveInt ] = Field (
50
50
900 , description = "Expiration time (or Time to live (TTL) in redis jargon) for a registered resource"
51
51
)
52
52
garbage_collection_interval_seconds : Optional [PositiveInt ] = Field (
You can’t perform that action at this time.
0 commit comments