Fixed a concurrency bug that would cause periodic timeouts

This commit is contained in:
Jess Sightler 2016-10-13 19:08:45 -04:00
parent cab9740221
commit 635e20a510

View file

@ -51,7 +51,7 @@ export class KeycloakHttp extends Http {
});
return <Observable<Response>>Observable
.merge(tokenObservable, tokenUpdateObservable, requestObservable)
.merge(tokenObservable, tokenUpdateObservable, requestObservable, 1) // Insure no concurrency in the merged Observables
.filter((response) => response instanceof Response);
}