Skip to content

Commit

Permalink
feat: Add semaphore to limit concurrent basemaps import workflows BM-822
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Jacombs committed Aug 23, 2023
1 parent 90bb6b6 commit 85252cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/semaphores.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ data:
standardising: "2" # Limit of how many standardising workflow instances can run at the same time
bulk: "4" # Limit of how many bulk workflow instances can run at the same time
bulkcopy: "8" # Limit of how many publish-copy workflow instances can run at the same time
basemaps_import: "10" # Limit of how many basemaps import workflow instances can run at the same time
5 changes: 5 additions & 0 deletions workflows/basemaps/imagery-import-cogify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ metadata:
spec:
parallelism: 100
entrypoint: main
synchronization:
semaphore:
configMapKeyRef:
name: semaphores
key: basemaps_import
templateDefaults:
container:
imagePullPolicy: Always
Expand Down

0 comments on commit 85252cf

Please sign in to comment.