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
@SamMousa just curious - do you get any use out of BatchedDogStatsd? It's not a terrible idea in principle to give users a way to batch sends, but given the nature of PHP (not generally a long-running process), and the tiny size of this class, I wonder how much value it actually provides to users?
One could write a cleaner implementation of this "batching" behavior to suit their specific use case without a ton of trouble. Does BatchedDogStatsd earn its keep?
Because the
BatchedDogStatsd
class uses static variables instead it is essentially a singleton.It is not possible to have multiple instances which target different daemons or have different buffer sizes.
All variables in this class should be non-static.
The text was updated successfully, but these errors were encountered: