comparison mod_pubsub_serverinfo/README.markdown @ 5805:55b99f593c3a

mod_pubsub_serverinfo: Disco/info cache TTL should be configurable This module caches the disco/info results of remote domains. This commit introduces a new configuration option that allows an admin to configure the cache expiry duration.
author Guus der Kinderen <guus.der.kinderen@gmail.com>
date Thu, 04 Jan 2024 12:05:51 +0100
parents f55e65315ba0
children d4612e7f6724
comparison
equal deleted inserted replaced
5804:c3eeeb968403 5805:55b99f593c3a
39 39
40 To prevent a surplus of event notifications, this module will only publish new data after a certain period of time has expired. The default duration 40 To prevent a surplus of event notifications, this module will only publish new data after a certain period of time has expired. The default duration
41 is 300 seconds (5 minutes). To change this simply put in the config: 41 is 300 seconds (5 minutes). To change this simply put in the config:
42 42
43 pubsub_serverinfo_publication_interval = 180 -- or any other number of seconds 43 pubsub_serverinfo_publication_interval = 180 -- or any other number of seconds
44
45 To detect if remote domains allow their domain name to be included in the data that this module publishes, this module will perform a service
46 discovery request to each remote domain. To prevent a continuous flood of disco/info requests, the response to these requests is cached. By default,
47 a cached value will remain in cache for one hour. This duration can be modified by adding this configuration option:
48
49 pubsub_serverinfo_cache_ttl = 1800 -- or any other number of seconds