diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-08-17 12:00:48 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-08-17 12:00:48 +0100 |
commit | 23bc82085c7dc90cb7fffb5e5363647eb5b9b39b (patch) | |
tree | a255d4a705759ab9a698357da3ff78979063d2a1 /src/fuzzy_storage.c | |
parent | 0f870719446175344b36db504c08f8e5773a8348 (diff) | |
download | rspamd-23bc82085c7dc90cb7fffb5e5363647eb5b9b39b.tar.gz rspamd-23bc82085c7dc90cb7fffb5e5363647eb5b9b39b.zip |
[Minor] Allow workers to have any attributes (needed by fuzzy)
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r-- | src/fuzzy_storage.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index 0110ed8c2..21c5c271e 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -1,11 +1,11 @@ -/*- - * Copyright 2016 Vsevolod Stakhov +/* + * Copyright 2023 Vsevolod Stakhov * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -61,7 +61,7 @@ worker_t fuzzy_worker = { "fuzzy", /* Name */ init_fuzzy, /* Init function */ start_fuzzy, /* Start function */ - RSPAMD_WORKER_HAS_SOCKET, + RSPAMD_WORKER_HAS_SOCKET | RSPAMD_WORKER_NO_STRICT_CONFIG, RSPAMD_WORKER_SOCKET_UDP, /* UDP socket */ RSPAMD_WORKER_VER /* Version info */ }; |