From b8487cd3a93d972aa12d2b087c3ebe509ed8f2ac Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Mon, 9 Oct 2017 12:09:49 +0200 Subject: [PATCH] [mod] I'm going to wait in YunoHost code, not on the server --- dynette.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dynette.rb b/dynette.rb index 1167e85..55c4e77 100755 --- a/dynette.rb +++ b/dynette.rb @@ -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