• Fatih Acet's avatar
    Merge branch 'improve-vuejs-resource-interceptor' into 'master' · 8a70dcab
    Fatih Acet authored
    Reduce intermittent spec failures by making VueJS resource interceptor decrement outstanding resource counts when HTTP response is received
    
    Before the count would be reduced 500 ms after a DOM update tick, which could cause race conditions since the `DatabaseCleaner` could run in the middle of a Rails controller handling the response.
    
    Partial fix to #21197 and other intermittent spec failures.
    
    See merge request !6224
    8a70dcab
vue_resource_interceptor.js.es6 190 Bytes