I hereby claim:
- I am s3rious on github.
- I am s3rious (https://keybase.io/s3rious) on keybase.
- I have a public key whose fingerprint is 4DC7 00AE 08F6 B296 CED5 B372 5C28 7831 BAF3 1CBA
To claim this, I am signing this object:
const createRetry = (errorMessage, interval = 1000, limit = 10) => { | |
let count = 0 | |
const retry = async (call) => { | |
count = count + 1 | |
const result = await call() | |
console.log(count) | |
if (result) { |
var axios = require('axios') | |
var axiosRetry = require('axios-retry') | |
axiosRetry(axios, { | |
retries: 3, | |
delay: function (retryCount) { | |
console.log(retryCount) | |
return 1000 | |
}, | |
retryCondition: function() { |
I hereby claim:
To claim this, I am signing this object:
{ | |
"rules": { | |
"at-rule-empty-line-before": ["always", "ignore": ["all-nested"]], | |
"at-rule-no-vendor-prefix": true, | |
"block-closing-brace-newline-after": "always", | |
"block-closing-brace-newline-before": "always-multi-line", | |
"block-closing-brace-space-before": "always-single-line", | |
"block-no-empty": true, | |
"block-opening-brace-newline-after": "always-multi-line", | |
"block-opening-brace-space-after": "always-single-line", |