Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Sikina committed Nov 10, 2023
1 parent ca8b278 commit 90d0e49
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ public boolean createGenomicData(Query phenotypicQuery) {
AsyncResult status = null;
while (
status == null || // wait for the genomic query to complete
status.status.equals(AsyncResult.Status.PENDING) ||
status.status.equals(AsyncResult.Status.RUNNING)
status.status == AsyncResult.Status.PENDING ||
status.status == AsyncResult.Status.RUNNING
) {
try {
Thread.sleep(Duration.of(30, ChronoUnit.SECONDS));
Thread.sleep(30000);
} catch (InterruptedException e) {
LOG.error("Error waiting for status: ", e);
}
Expand Down

0 comments on commit 90d0e49

Please sign in to comment.