Skip to content

Commit

Permalink
use new incCounterBy() to avoid increasing the overall counter
Browse files Browse the repository at this point in the history
  • Loading branch information
goir committed Aug 17, 2012
1 parent 0f1d1a7 commit 1155f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CombineStore.cpp
Expand Up @@ -331,7 +331,7 @@ bool CombineStore::handleMessages(
categoryHandled.c_str(), num_combined);
}
else {
g_Handler->incCounter(categoryHandled, "combined into", num_written);
g_Handler->incCounterBy(categoryHandled, "combined into", num_written);
LOG_OPER("[%s] [Counter][mysql] combined <%i> messages to <%i> queries in <%lu>",
categoryHandled.c_str(), num_combined, num_written, runtime);
}
Expand Down

0 comments on commit 1155f60

Please sign in to comment.