Skip to content

Commit

Permalink
affile: remove internal queue "filter"
Browse files Browse the repository at this point in the history
Signed-off-by: László Várady <[email protected]>
  • Loading branch information
MrAnno committed May 22, 2024
1 parent 4c6a532 commit 5158985
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 45 deletions.
1 change: 0 additions & 1 deletion modules/affile/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
set(AFFILE_SOURCES
"affile-dest.h"
"affile-dest-internal-queue-filter.h"
"affile-parser.h"
"affile-source.h"
"collection-comparator.h"
Expand Down
3 changes: 1 addition & 2 deletions modules/affile/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ modules_affile_libaffile_la_SOURCES = \
modules/affile/affile-parser.h \
modules/affile/affile-plugin.c \
modules/affile/file-list.h \
modules/affile/file-list.c \
modules/affile/affile-dest-internal-queue-filter.h
modules/affile/file-list.c

if HAVE_INOTIFY
modules_affile_libaffile_la_SOURCES += \
Expand Down
35 changes: 0 additions & 35 deletions modules/affile/affile-dest-internal-queue-filter.h

This file was deleted.

7 changes: 0 additions & 7 deletions modules/affile/affile-dest.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include "transport/transport-file.h"
#include "transport/transport-pipe.h"
#include "logwriter.h"
#include "affile-dest-internal-queue-filter.h"
#include "file-specializations.h"
#include "apphook.h"
#include "timeutils/cache.h"
Expand Down Expand Up @@ -282,12 +281,6 @@ affile_dw_deinit(LogPipe *s)
static void
affile_dw_queue(LogPipe *s, LogMessage *lm, const LogPathOptions *path_options)
{
if (!affile_dw_queue_enabled_for_msg(lm))
{
log_msg_drop(lm, path_options, AT_PROCESSED);
return;
}

AFFileDestWriter *self = (AFFileDestWriter *) s;

g_mutex_lock(&self->lock);
Expand Down

0 comments on commit 5158985

Please sign in to comment.