Skip to content

Commit

Permalink
Merge pull request #1752 from shastah/less-confusing-warnings
Browse files Browse the repository at this point in the history
Emit less confusing warnings for diskq
  • Loading branch information
Kókai Péter committed Nov 10, 2017
2 parents ef25745 + a58ecf5 commit 3798aa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/diskq/diskq-options.c
Expand Up @@ -79,14 +79,14 @@ disk_queue_options_check_plugin_settings(DiskQueueOptions *self)
{
if (self->mem_buf_length > 0)
{
msg_warning("WARNING: Reliable queue: the mem-buf-length parameter is omitted");
msg_warning("WARNING: mem-buf-length parameter was ignored as it is not compatible with reliable queue. Did you mean mem-buf-size?");
}
}
else
{
if (self->mem_buf_size > 0)
{
msg_warning("WARNING: Non-reliable queue: the mem-buf-size parameter is omitted");
msg_warning("WARNING: mem-buf-size parameter was ignored as it is not compatible with non-reliable queue. Did you mean mem-buf-length?");
}
}
}
Expand Down

0 comments on commit 3798aa4

Please sign in to comment.