Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hsaraogi committed Nov 8, 2017
1 parent 5515d31 commit 32ed6bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void checkLimit() {
if (credits > 0) {
credits--;
} else {
// TODO is there a more appropriate exception?
// TODO This should be a ThrottleException?
throw new RuntimeException("Rate limit exceeded");
}
}
Expand Down

0 comments on commit 32ed6bc

Please sign in to comment.