Fix strategies internals reset
[poolifier.git] / src / pools / selection-strategies / dynamic-pool-worker-choice-strategy.ts
index 8d8b8518a4bd110d6453261d83ac8dd932254308..81f3df519fecffcd7fa5aaec04a7e3e4cdc14689 100644 (file)
@@ -43,8 +43,8 @@ export class DynamicPoolWorkerChoiceStrategy<
   }
 
   /** @inheritDoc */
-  public resetStatistics (): boolean {
-    return this.workerChoiceStrategy.resetStatistics()
+  public reset (): boolean {
+    return this.workerChoiceStrategy.reset()
   }
 
   /** @inheritDoc */