Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

Only collect all command details in debug mode #2

Merged
merged 1 commit into from
Jul 6, 2015

Conversation

dominics
Copy link

@dominics dominics commented Jul 5, 2015

Assumption: if SncRedisBundle is running in non-debug mode, there'll be no data collector, so no use for the collected command information anyway.

Previously, long-running production processes using SncRedisBundle would 'leak' memory by filling the commands array without ever reading it. (There's also no public interface that allows this array to be cleared, so the memory usage was effectively unbound).

Assumption: if SncRedisBundle is running in non-debug mode, there'll be
no data collector, so no use for the collected command information
anyway.

Previously, long-running production processes using SncRedisBundle would
'leak' memory by filling the commands array without ever reading it.
(There's also no public interface that allows this array to be cleared,
so the memory usage was effective unbound).
@dominics dominics merged commit f2f926b into master Jul 6, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant