Skip to content

Commit

Permalink
Merge pull request #198 from talien/f/do-not-count-inserted-messages-…
Browse files Browse the repository at this point in the history
…as-stored

modules: Do not count inserted/sent messages as stored ones.

This also fixes #142.
  • Loading branch information
algernon committed Aug 14, 2014
2 parents c7caff9 + ba98c91 commit a3b894a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion modules/afamqp/afamqp.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,6 @@ afamqp_worker_insert(LogThrDestDriver *s)

if (success)
{
stats_counter_inc(s->stored_messages);
step_sequence_number(&self->seq_num);
log_msg_ack(msg, &path_options, AT_PROCESSED);
log_msg_unref(msg);
Expand Down
1 change: 0 additions & 1 deletion modules/afstomp/afstomp.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,6 @@ afstomp_worker_insert(LogThrDestDriver *s)

if (success)
{
stats_counter_inc(self->super.stored_messages);
step_sequence_number(&self->seq_num);
log_msg_ack(msg, &path_options, AT_PROCESSED);
log_msg_unref(msg);
Expand Down
1 change: 0 additions & 1 deletion modules/redis/redis.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ redis_worker_insert(LogThrDestDriver *s)

if (success)
{
stats_counter_inc(self->super.stored_messages);
step_sequence_number(&self->seq_num);
log_msg_ack(msg, &path_options, AT_PROCESSED);
log_msg_unref(msg);
Expand Down

0 comments on commit a3b894a

Please sign in to comment.