Skip to content

Commit

Permalink
reset threshold park when destory
Browse files Browse the repository at this point in the history
  • Loading branch information
cchen6 authored and lishanglin committed Nov 21, 2023
1 parent 2f9b9f4 commit 70cba87
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ protected void doDispose() throws Exception {
super.doDispose();
closeState.setClosed();
runningCommands.clear();
memoryThreshold.reset();
concurrencyThreshold.reset();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ public void release() {
super.release(1);
}

@Override
public void reset() {
super.reset();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,9 @@ public void tryPass(long bytes) {
public void release(long bytes) {
super.release(bytes);
}

@Override
public void reset() {
super.reset();
}
}

0 comments on commit 70cba87

Please sign in to comment.