Skip to content

Commit

Permalink
Add max-connections for GCS, Azure, B2 backend (#730)
Browse files Browse the repository at this point in the history
- [x] Merge and revendor kmodules/objectstore-api#8

Fixes #545
  • Loading branch information
Dipta Das authored and tamalsaha committed Apr 5, 2019
1 parent f6f75c3 commit 24d21fc
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/examples/functions/pg_backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ spec:
- --retention-prune=${RETENTION_PRUNE:=}
- --retention-dry-run=${RETENTION_DRY_RUN:=}
- --output-dir=${outputDir:=}
- --enable-cache=${ENABLE_CACHE:=true}
- --max-connections=${MAX_CONNECTIONS:=0}
#- --metrics-enabled
#- --metrics-pushgateway-url
#- --metrics-dir
Expand Down
2 changes: 2 additions & 0 deletions docs/examples/functions/pvc_backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ spec:
- --retention-prune=${RETENTION_PRUNE:=false}
- --retention-dry-run=${RETENTION_DRY_RUN:=false}
- --output-dir=${outputDir}
- --enable-cache=${ENABLE_CACHE:=true}
- --max-connections=${MAX_CONNECTIONS:=0}
#- --metrics-enabled
#- --metrics-pushgateway-url
#- --metrics-dir
Expand Down
2 changes: 2 additions & 0 deletions docs/examples/functions/pvc_restore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ spec:
- --restore-dirs=${RESTORE_DIRECTORIES}
- --snapshots=${RESTORE_SNAPSHOTS:=}
- --output-dir=${outputDir}
- --enable-cache=${ENABLE_CACHE:=true}
- --max-connections=${MAX_CONNECTIONS:=0}
#- --metrics-enabled
#- --metrics-pushgateway-url
#- --metrics-dir
Expand Down
4 changes: 4 additions & 0 deletions docs/examples/mongo/functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ spec:
- --retention-prune=${RETENTION_PRUNE:=}
- --retention-dry-run=${RETENTION_DRY_RUN:=}
- --output-dir=${outputDir:=}
- --enable-cache=${ENABLE_CACHE:=true}
- --max-connections=${MAX_CONNECTIONS:=0}
#- --metrics-enabled
#- --metrics-pushgateway-url
#- --metrics-dir
Expand Down Expand Up @@ -74,6 +76,8 @@ spec:
- --app-binding=${TARGET_NAME:=}
- --snapshot=${RESTORE_SNAPSHOTS:=} # TODO: sliceVar
- --output-dir=${outputDir:=}
- --enable-cache=${ENABLE_CACHE:=true}
- --max-connections=${MAX_CONNECTIONS:=0}
#- --metrics-enabled
#- --metrics-pushgateway-url
#- --metrics-dir
Expand Down
4 changes: 4 additions & 0 deletions docs/examples/mysql/functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ spec:
- --retention-prune=${RETENTION_PRUNE:=}
- --retention-dry-run=${RETENTION_DRY_RUN:=}
- --output-dir=${outputDir:=}
- --enable-cache=${ENABLE_CACHE:=true}
- --max-connections=${MAX_CONNECTIONS:=0}
#- --metrics-enabled
#- --metrics-pushgateway-url
#- --metrics-dir
Expand Down Expand Up @@ -74,6 +76,8 @@ spec:
- --app-binding=${TARGET_NAME:=}
- --snapshot=${RESTORE_SNAPSHOTS:=} # TODO: sliceVar
- --output-dir=${outputDir:=}
- --enable-cache=${ENABLE_CACHE:=true}
- --max-connections=${MAX_CONNECTIONS:=0}
#- --metrics-enabled
#- --metrics-pushgateway-url
#- --metrics-dir
Expand Down
4 changes: 4 additions & 0 deletions docs/examples/pg/functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ spec:
- --retention-prune=${RETENTION_PRUNE:=false}
- --retention-dry-run=${RETENTION_DRY_RUN:=false}
- --output-dir=${outputDir:=}
- --enable-cache=${ENABLE_CACHE:=true}
- --max-connections=${MAX_CONNECTIONS:=0}
#- --metrics-enabled
#- --metrics-pushgateway-url
#- --metrics-dir
Expand Down Expand Up @@ -70,6 +72,8 @@ spec:
- --app-binding=${TARGET_NAME:=}
- --snapshot=${RESTORE_SNAPSHOTS:=} # TODO: sliceVar
- --output-dir=${outputDir:=}
- --enable-cache=${ENABLE_CACHE:=true}
- --max-connections=${MAX_CONNECTIONS:=0}
#- --metrics-enabled
#- --metrics-pushgateway-url
#- --metrics-dir
Expand Down
2 changes: 2 additions & 0 deletions docs/examples/pvc/functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ spec:
- --retention-dry-run=${RETENTION_DRY_RUN:=false}
- --output-dir=${outputDir}
- --enable-cache=${ENABLE_CACHE:=true}
- --max-connections=${MAX_CONNECTIONS:=0}
#- --metrics-enabled
#- --metrics-pushgateway-url
#- --metrics-dir
Expand Down Expand Up @@ -74,6 +75,7 @@ spec:
- --snapshots=${RESTORE_SNAPSHOTS:=}
- --output-dir=${outputDir}
- --enable-cache=${ENABLE_CACHE:=true}
- --max-connections=${MAX_CONNECTIONS:=0}
#- --metrics-enabled
#- --metrics-pushgateway-url
#- --metrics-dir
Expand Down
4 changes: 4 additions & 0 deletions docs/examples/rest/functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ spec:
- --retention-prune=${RETENTION_PRUNE:=false}
- --retention-dry-run=${RETENTION_DRY_RUN:=false}
- --output-dir=${outputDir}
- --enable-cache=${ENABLE_CACHE:=true}
- --max-connections=${MAX_CONNECTIONS:=0}
#- --metrics-enabled
#- --metrics-pushgateway-url
#- --metrics-dir
Expand Down Expand Up @@ -76,6 +78,8 @@ spec:
- --restore-dirs=${RESTORE_DIRECTORIES}
- --snapshots=${RESTORE_SNAPSHOTS:=}
- --output-dir=${outputDir}
- --enable-cache=${ENABLE_CACHE:=true}
- --max-connections=${MAX_CONNECTIONS:=0}
#- --metrics-enabled
#- --metrics-pushgateway-url
#- --metrics-dir
Expand Down

0 comments on commit 24d21fc

Please sign in to comment.