From: Vsevolod Stakhov Date: Wed, 17 Aug 2022 19:35:39 +0000 (+0100) Subject: [Minor] Add timeout augmentation X-Git-Tag: 3.3~71 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6e726dc807bfd927329b223586d809bd3d3d58f6;p=rspamd.git [Minor] Add timeout augmentation --- diff --git a/src/libserver/symcache/symcache_item.cxx b/src/libserver/symcache/symcache_item.cxx index 57a0a6695..87e857d23 100644 --- a/src/libserver/symcache/symcache_item.cxx +++ b/src/libserver/symcache/symcache_item.cxx @@ -65,6 +65,12 @@ static const auto known_augmentations = .implied_flags = SYMBOL_TYPE_FINE } }, + {"timeout", { + .weight = 0, + .implied_flags = 0, + .value_type = augmentation_value_type::NUMBER_VALUE, + } + } }; auto cache_item::get_parent(const symcache &cache) const -> const cache_item *