[mod] I'm going to wait in YunoHost code, not on the server

This commit is contained in:
Laurent Peuch 2017-10-09 12:09:49 +02:00
parent 368fe5d206
commit b8487cd3a9

View file

@ -235,10 +235,6 @@ put '/migrate_key_to_sha512/' do
# let's try flusing here, hope that could help ... (this design is so awful)
`/usr/sbin/rndc flush`
# assume that the dynette.cron.py runs every minute like on prod and add a
# bit of security margin. I hate that.
sleep(180)
halt 201, { :public_key => entry.public_key, :subdomain => entry.subdomain, :current_ip => entry.current_ip }.to_json
end