/*
- * Copyright 2024 Vsevolod Stakhov
+ * Copyright 2025 Vsevolod Stakhov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
if (w->state != rspamd_worker_wait_final_scripts) {
w->state = rspamd_worker_wait_final_scripts;
- if ((w->flags & RSPAMD_WORKER_SCANNER) &&
+ if ((w->flags & (RSPAMD_WORKER_SCANNER|RSPAMD_WORKER_FUZZY)) &&
rspamd_worker_call_finish_handlers(w)) {
msg_info("performing async finishing actions");
w->state = rspamd_worker_wait_final_scripts;
/*
- * Copyright 2024 Vsevolod Stakhov
+ * Copyright 2025 Vsevolod Stakhov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
RSPAMD_WORKER_NO_TERMINATE_DELAY = (1 << 7),
RSPAMD_WORKER_OLD_CONFIG = (1 << 8),
RSPAMD_WORKER_NO_STRICT_CONFIG = (1 << 9),
+ RSPAMD_WORKER_FUZZY = (1 << 10),
};
struct rspamd_worker_accept_event {