devout: add readiness notification

main
Daniel Barlow 2024-04-26 17:23:29 +01:00
parent b9c084415e
commit b33249a050
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@
(loop:register
nl
#(do (db:add (ll.read nl)) true))
(ll.write 10 "ready\n")
(while true
(let [pollfds (pollfds-for (loop:fds))]
(ll.poll pollfds 5000)