Skip to content

Commit 7f782fc

Browse files
committed
Fixes incorrect conditional on the retry request.
1 parent 7648438 commit 7f782fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iterableapi/src/main/java/com/iterable/iterableapi/IterableRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected String doInBackground(IterableApiRequest... params) {
4141
iterableApiRequest = params[0];
4242
}
4343

44-
if (retryRequest) {
44+
if (retryCount > 0) {
4545
try {
4646
Thread.sleep(RETRY_DELAY_MS * retryCount);
4747
} catch (InterruptedException e) {

0 commit comments

Comments
 (0)