Skip to content

Commit

Permalink
Merge pull request #206 from NASA-IMPACT/rds_config
Browse files Browse the repository at this point in the history
Cast RDS_CAPACITY environment variables to int.
  • Loading branch information
sharkinsspatial authored Jan 31, 2022
2 parents e1f72c8 + 69af9ad commit 5e14f6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stack/stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ def getenv(key, default):
"HLS_LAADS_ECR_URI",
"018923174646.dkr.ecr.us-west-2.amazonaws.com/hls-laads:latest",
)
RDS_MIN_CAPACITY = getenv("HLS_RDS_MIN_CAPACITY", 4)
RDS_MAX_CAPACITY = getenv("HLS_RDS_MAX_CAPACITY", 8)
RDS_MIN_CAPACITY = int(getenv("HLS_RDS_MIN_CAPACITY", 4))
RDS_MAX_CAPACITY = int(getenv("HLS_RDS_MAX_CAPACITY", 8))


# Cron settings
Expand Down

0 comments on commit 5e14f6b

Please sign in to comment.