We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently we have 3 ways to throttle logging:
With mwcu::ThrottledActionParams:
mwcu::ThrottledActionParams
blazingmq/src/groups/mqb/mqbblp/mqbblp_cluster.cpp
Lines 414 to 419 in 5f65a2a
With bdlmt::Throttle:
bdlmt::Throttle
blazingmq/src/groups/mqb/mqbs/mqbs_filestore.cpp
Line 3669 in 5f65a2a
With BALL_LOGTHROTTLE:
BALL_LOGTHROTTLE
blazingmq/src/groups/mqb/mqbblp/mqbblp_relayqueueengine.cpp
Line 330 in 5f65a2a
The good example of a problem: mqbblp::Cluster, here we have many-many fields responsible for throttled logging in the header:
mqbblp::Cluster
blazingmq/src/groups/mqb/mqbblp/mqbblp_cluster.h
Lines 254 to 292 in 5f65a2a
Removing these fields by using a local BALL_LOGTHROTTLE will greatly simplify the class.
Replace field-stored mwcu::ThrottledActionParams with local BALL_LOGTHROTTLE where it's possible.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing proposal for this?
Is your feature request related to a problem?
Currently we have 3 ways to throttle logging:
With
mwcu::ThrottledActionParams
:blazingmq/src/groups/mqb/mqbblp/mqbblp_cluster.cpp
Lines 414 to 419 in 5f65a2a
With
bdlmt::Throttle
:blazingmq/src/groups/mqb/mqbs/mqbs_filestore.cpp
Line 3669 in 5f65a2a
With
BALL_LOGTHROTTLE
:blazingmq/src/groups/mqb/mqbblp/mqbblp_relayqueueengine.cpp
Line 330 in 5f65a2a
The good example of a problem:
mqbblp::Cluster
, here we have many-many fields responsible for throttled logging in the header:blazingmq/src/groups/mqb/mqbblp/mqbblp_cluster.h
Lines 254 to 292 in 5f65a2a
Removing these fields by using a local
BALL_LOGTHROTTLE
will greatly simplify the class.Describe the solution you'd like
Replace field-stored
mwcu::ThrottledActionParams
with localBALL_LOGTHROTTLE
where it's possible.Alternatives you considered
No response
The text was updated successfully, but these errors were encountered: