You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just reading through the code to figure out how it works, and I noticed https://github.com/LatencyUtils/LatencyUtils/blob/master/src/main/java/org/LatencyUtils/LatencyStats.java#L307. Is this intentional that shutting down one LatencyStats will halt that shared executor? It's hard to tell the intent because TimeServices.ScheduledExecutor#scheduleAtFixedRate is not actually used (presumably it's there as a convenience for other user code).
The text was updated successfully, but these errors were encountered:
Lettuce now stops LatencyStats when removing the object from latency collection scope. Stopping LatencyStats unregisters from the associated PauseDetector and removes listener resources so GC can remove the object.
Just reading through the code to figure out how it works, and I noticed https://github.com/LatencyUtils/LatencyUtils/blob/master/src/main/java/org/LatencyUtils/LatencyStats.java#L307. Is this intentional that shutting down one LatencyStats will halt that shared executor? It's hard to tell the intent because TimeServices.ScheduledExecutor#scheduleAtFixedRate is not actually used (presumably it's there as a convenience for other user code).
The text was updated successfully, but these errors were encountered: