diff --git a/requirements/requirements.in b/requirements/requirements.in index c0b16595..f08b110c 100644 --- a/requirements/requirements.in +++ b/requirements/requirements.in @@ -2,5 +2,5 @@ cachetools cfnresponse chalice flatdict -git+https://github.com/asfadmin/rain-api-core.git@4d7756db4113b5b896794fbe75e0ef0adb637dea +git+https://github.com/asfadmin/rain-api-core.git@318aac226c92cf6f60cc8821d6d94669485972c6 netaddr diff --git a/requirements/requirements.txt b/requirements/requirements.txt index 9b757a48..c2810223 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -52,7 +52,7 @@ pyyaml==6.0.1 # via # chalice # rain-api-core -rain-api-core @ git+https://github.com/asfadmin/rain-api-core.git@4d7756db4113b5b896794fbe75e0ef0adb637dea +rain-api-core @ git+https://github.com/asfadmin/rain-api-core.git@318aac226c92cf6f60cc8821d6d94669485972c6 # via -r requirements/requirements.in readchar==4.0.5 # via inquirer diff --git a/thin_egress_app/app.py b/thin_egress_app/app.py index df5e33d6..8a3643f8 100644 --- a/thin_egress_app/app.py +++ b/thin_egress_app/app.py @@ -102,7 +102,7 @@ def wrapper(*args, **kwargs): public_key=None, private_key=None, cookie_name=os.getenv('JWT_COOKIENAME', JWT_COOKIE_NAME), - session_ttl_in_hours=int(os.getenv('SESSION_TTL_HRS', 7 * 24)), + session_ttl_in_hours=float(os.getenv('SESSION_TTL_HRS', 7 * 24)), ) TEMPLATE_MANAGER = TemplateManager(conf_bucket, template_dir)