Hi Eduard, On 11/17/19 6:19 PM, Eduard Ahmatgareev via Unbound-users wrote: > Hi all, > > I got a question regarding option: prefetch yes > We useĀ python module for add specific domain to pass the traffic over > our servers. I found that option: prefetch was enabled in our infra, and > from time to time we had an issue with rule inside firewall which was > created over python module > My question is: > does python-module call when prefetch is enabled?
Yes, like normal. For the modules this is like a normal lookup. It just happens earlier, and during cache storage special rules are used for prefetch-storage while the old data is still in cache. The module done event is also like normal, I think. Best regards, Wouter > > from documentation I found: > > prefetch: /<yes/ /or/ /no>/ > If yes, message cache elements are prefetched before they expire > to keep the cache up to date. Default is no. Turning it on > gives about 10 percent more traffic and load on the machine, but > popular items do not expire from the cache. > > and looks like in our configuration we have an issue with section: > MODULE_EVENT_MODDONE which is not calls when prefetch enabled > > > Is it true? >
signature.asc
Description: OpenPGP digital signature
