diff options
author | Kim Alvefur <zash@zash.se> | 2024-05-19 13:06:55 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2024-05-19 13:06:55 +0200 |
commit | 4701e73a72477d156494257acc4bf9897d6d762a (patch) | |
tree | 5f8e839f401f59ffe414ae3bc39ca18151cdf929 /spec/scansion/basic_roster.scs | |
parent | 2647c561060c75bac537ff4a77543cf7078dc713 (diff) | |
download | prosody-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 'spec/scansion/basic_roster.scs')
0 files changed, 0 insertions, 0 deletions