Skip to content

Commit b6163a1

Browse files
weidongxu-microsoftjianghaolu
authored andcommitted
delay on Schedulers.immediate
1 parent ef99401 commit b6163a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-client-runtime/src/main/java/com/microsoft/azure/AzureClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public Observable<PollingState<T>> call(PollingState<T> pollingState) {
133133
return Observable.just(pollingState);
134134
} else {
135135
// initial delay
136-
return Observable.just(pollingState).delaySubscription(pollingState.delayInMilliseconds(), TimeUnit.MILLISECONDS);
136+
return Observable.just(pollingState).delaySubscription(pollingState.delayInMilliseconds(), TimeUnit.MILLISECONDS, Schedulers.immediate());
137137
}
138138
}
139139
})

0 commit comments

Comments
 (0)