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