Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Commit

Permalink
perf(ajax): Change number of retries
Browse files Browse the repository at this point in the history
  • Loading branch information
devinus committed Jan 11, 2018
1 parent af9dbcd commit 1fd85d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/ajax/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export default AjaxService.extend({

request(...args) {
const originalFn = this._super;
return retryWithBackoff(() => {
return retryWithBackoff(() => { // eslint-disable-line arrow-body-style
return this.get('requestTask').perform(originalFn, ...args);
}, 5, 500);
}, 10, 250);
},
});

0 comments on commit 1fd85d6

Please sign in to comment.