mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-26 03:31:23 +00:00
Wait for 3 seconds between attempts to allow time for data to arrive.
This commit is contained in:
@@ -477,6 +477,8 @@ public class ArbitraryResource {
|
|||||||
// Give up after 5 attempts
|
// Give up after 5 attempts
|
||||||
throw ApiExceptionFactory.INSTANCE.createCustomException(request, ApiError.INVALID_CRITERIA, "Data unavailable. Please try again later.");
|
throw ApiExceptionFactory.INSTANCE.createCustomException(request, ApiError.INVALID_CRITERIA, "Data unavailable. Please try again later.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Thread.sleep(3000L);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user