Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4830

Ember-ajax and retry

$
0
0

@accelerate wrote:

In our app, we're using ember-ajax both as integrated with Ember Data and as a service. However, our API backend is currently rather flaky, returning 500's maybe 20% of the time. Until we get to the bottom of our backend issues (which may take some time), I would like to implement a retry system, only on 500's. So I'm looking for suggestions for the best way to approach this. Ideally, I want to implement this globally, so whatever AJAX calls I make anywhere in our app will automatically have a retry on error (or at least have a numRetries parameter).

Suggestions?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4830

Trending Articles