Skip to content

Commit

Permalink
fix typo in var
Browse files Browse the repository at this point in the history
Signed-off-by: tmanninger <t.manninger@ixolit.com>
  • Loading branch information
tmanninger committed Sep 26, 2024
1 parent 729284f commit 9621c15
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,9 @@ protected void doStop() {
((DefaultRestChannel) httpChannel).gracefulCloseConnection();
}
}
final long startTimeNS = System.currentTimeMillis();
final long startTimeMillis = System.currentTimeMillis();
boolean closedAll = false;
while (System.currentTimeMillis() - startTimeNS < gracefulShutdownMillis) {
while (System.currentTimeMillis() - startTimeMillis < gracefulShutdownMillis) {
if (httpChannels.isEmpty()) {
closedAll = true;
break;
Expand Down

0 comments on commit 9621c15

Please sign in to comment.