Skip to content

Commit

Permalink
ZENKO-2909: update stalledRetry manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderchan-scality committed Apr 1, 2021
1 parent 8cff6d9 commit 4224466
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stalled.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const ACCESS_KEY = process.env.ACCESS_KEY;
const SECRET_KEY = process.env.SECRET_KEY;
const MONGODB_REPLICASET = process.env.MONGODB_REPLICASET;
const MONGODB_DATABASE = process.env.MONGODB_DATABASE || 'metadata';
const DRY_RUN = process.env.DRY_RUN && process.env.DRY_RUN !== '0';
const DRY_RUN = process.env.DRY_RUN && process.env.DRY_RUN !== 'false';

const BATCH_SIZE = parseEnvInt(process.env.REQUEST_BATCH_SIZE, 10);
const QUEUE_LIMIT = parseEnvInt(process.env.QUEUE_LIMIT, 1000);
Expand Down
20 changes: 20 additions & 0 deletions stalledRetry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,25 @@ spec:
value: ""
- name: MONGODB_REPLICASET
value: ""
- name: MONGODB_DATABASE
value: "metadata"
- name: DRY_RUN
value: "false"
- name: EXPIRED_BY_HOUR
value: "1"
# limits the number of retry resources per retry request
- name: BATCH_SIZE
value: "10"
# limits the number of retry resource entries in queue
- name: QUEUE_LIMIT
value: "1000"
# limits the number of parallel retry requests
- name: CONCURRENT_REQUESTS
value: "5"
- name: ENABLE_HEAP_PROFILER
value: "1"
- name: HEAP_PROFILER_INTERVAL_MS
value: "600000"
# path to write heap snapshots
- name: HEAP_PROFILER_PATH
value: "/path/to/write"

0 comments on commit 4224466

Please sign in to comment.