Skip to content

Commit

Permalink
Get MAX_ACTIVE_JOBS from env vars - tiler cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Feb 6, 2025
1 parent fe40761 commit fca2f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/tiler-cache/sqs_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"ghcr.io/openhistoricalmap/tiler-server:0.0.1-0.dev.git.1780.h62561a8",
)
NODEGROUP_TYPE = os.getenv("NODEGROUP_TYPE", "job_large")
MAX_ACTIVE_JOBS = 1
MAX_ACTIVE_JOBS = int(os.getenv("MAX_ACTIVE_JOBS", 2))
DELETE_OLD_JOBS_AGE = int(os.getenv("DELETE_OLD_JOBS_AGE", 3600)) # default 1 hour

# Tiler cache purge and seed settings
Expand Down

0 comments on commit fca2f22

Please # to comment.