Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
Description
While looking at an unrelated memory problem associated with Sync Gateway databases being closed and reopened, I noticed that cbgt was gradually increasing memory usage in NewDestStats every time a feed was stopped and started. It looks to me like the timers need to be stopped when a feed is closed, based on the comment in go-metrics for NewTimer().