mirror of
https://github.com/datarhei/core.git
synced 2025-09-27 04:16:25 +08:00
Reset process stats when stopped
This commit is contained in:
@@ -104,6 +104,8 @@ func (l *limiter) Stop() {
|
|||||||
|
|
||||||
l.proc.Stop()
|
l.proc.Stop()
|
||||||
l.proc = nil
|
l.proc = nil
|
||||||
|
|
||||||
|
l.reset()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (l *limiter) ticker(ctx context.Context) {
|
func (l *limiter) ticker(ctx context.Context) {
|
||||||
|
Reference in New Issue
Block a user