aboutsummaryrefslogtreecommitdiffstats
path: root/util/pluginloader.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2024-05-19 13:06:55 +0200
committerKim Alvefur <zash@zash.se>2024-05-19 13:06:55 +0200
commit4701e73a72477d156494257acc4bf9897d6d762a (patch)
tree5f8e839f401f59ffe414ae3bc39ca18151cdf929 /util/pluginloader.lua
parent2647c561060c75bac537ff4a77543cf7078dc713 (diff)
downloadprosody-4701e73a72477d156494257acc4bf9897d6d762a.tar.gz
prosody-4701e73a72477d156494257acc4bf9897d6d762a.zip
util.prosodyctl: Use notify socket to wait for Prosody to be ready
Previously, prosodyctl only waits for the pidfile to appear, which does not necessarily mean that Prosody is fully ready to receive traffic. By waiting until Prosody says it's ready via the systemd notify socket we know for sure that Prosody is really ready. Notably this should ensure that when running `make integration-test` Prosody is really ready when Scansion starts running tests. Not sure if this timeout handling is optimal.
Diffstat (limited to 'util/pluginloader.lua')
0 files changed, 0 insertions, 0 deletions