diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-03-24 16:59:07 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-03-24 16:59:07 +0000 |
commit | 441683d87b59a89bfd46f557caae254f15be2a7e (patch) | |
tree | 7a10d0e344ee4eb93c4916956a47a630ae04a6fc | |
parent | 4610fcee939fb6646703285d2da3b47a111d58eb (diff) | |
download | rspamd-441683d87b59a89bfd46f557caae254f15be2a7e.tar.gz rspamd-441683d87b59a89bfd46f557caae254f15be2a7e.zip |
[Minor] Disable EVBACKEND_IOURING for now as recommended
-rw-r--r-- | src/libserver/cfg_utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index 7e04adb97..01fa08f74 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -2580,11 +2580,11 @@ int rspamd_config_ev_backend_get (struct rspamd_config *cfg) { if (cfg == NULL || cfg->events_backend == NULL) { - return ev_supported_backends (); + return ev_supported_backends () & ~EVBACKEND_IOURING; } if (strcmp (cfg->events_backend, "auto") == 0) { - return ev_supported_backends (); + return ev_supported_backends () & ~EVBACKEND_IOURING; } else if (strcmp (cfg->events_backend, "epoll") == 0) { if (ev_supported_backends () & EVBACKEND_EPOLL) { @@ -2617,7 +2617,7 @@ rspamd_config_ev_backend_get (struct rspamd_config *cfg) cfg->events_backend); } - return EVBACKEND_ALL; + return ev_supported_backends () & ~EVBACKEND_IOURING; } const gchar * |