]> source.dussan.org Git - rspamd.git/commit
[Minor] Move hostname resolution up to cache it 4926/head
authorLucas Rolff <lucas@lucasrolff.com>
Wed, 17 Apr 2024 14:57:49 +0000 (22:57 +0800)
committerLucas Rolff <lucas@lucasrolff.com>
Wed, 17 Apr 2024 14:57:49 +0000 (22:57 +0800)
commit104cf0cfd71f50078cf7a7eae72de0675e546c00
treebc400adc487b7ce18742420a2d665726d055334c
parent458e980062a56bad80c6dda2eaffca2b5929bf9e
[Minor] Move hostname resolution up to cache it

Instead of calling get_hostname() for every processed message, we instead reuse the variable value from rspamd boot time
lualib/lua_selectors/extractors.lua