Skip to content

Commit c2badcb

Browse files
committed
axios-retry added
1 parent 494e07e commit c2badcb

File tree

4 files changed

+873
-588
lines changed

4 files changed

+873
-588
lines changed

config/default.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,11 @@ module.exports = {
9898
WORK_COMPLETED: process.env.WORK_COMPLETED || ''
9999
},
100100

101+
AXIOS_RETRY: {
102+
RETRIES: process.env.RETRIES || 3,
103+
RETRY_COUNT: process.env.RETRY_COUNT || 1
104+
},
105+
101106
EMAIL_FROM: process.env.EMAIL_FROM || 'no-reply@topcoder.com',
102107
SELF_SERVICE_EMAIL_CC_ACCOUNTS: process.env.SELF_SERVICE_EMAIL_CC_ACCOUNTS ? _.map(process.env.SELF_SERVICE_EMAIL_CC_ACCOUNTS.split(','), email => ({ email })) : [{ email: 'sathya.jayabal@gmail.com' }],
103108
SELF_SERVICE_WHITELIST_HANDLES: process.env.SELF_SERVICE_WHITELIST_HANDLES ? process.env.SELF_SERVICE_WHITELIST_HANDLES.split(',') : ['TCConnCopilot', 'sstestcopilot'],

0 commit comments

Comments
 (0)