Skip to content

Commit

Permalink
Fail when failed to acquire budget index (#855)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaidics authored Mar 17, 2024
1 parent f3859e8 commit 6d21eb2
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ public long acquire(
System.nanoTime(), budgetId, budgetIndex);
}
}
else
{
throw new IllegalStateException(String.format("Failed to acquire budget index for budget %d", budgetId));
}

return budgetIndex;
}
Expand Down

0 comments on commit 6d21eb2

Please sign in to comment.