Skip to content

Commit

Permalink
Merge pull request #776 from asfadmin/rew/session-ttl-parameter-valid…
Browse files Browse the repository at this point in the history
…ation

Allow floating points for session TTL
  • Loading branch information
reweeden authored Dec 11, 2023
2 parents a6b4bdb + 4ac565a commit 5fc1b5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion thin_egress_app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 5fc1b5d

Please sign in to comment.