[enh] hammer it

This commit is contained in:
Laurent Peuch 2017-10-09 09:42:58 +02:00
parent 8446a552f2
commit 368fe5d206

View file

@ -232,6 +232,8 @@ put '/migrate_key_to_sha512/' do
# I don't have any other way of communicating with this dynette.cron.py
# this is awful
File.open("/tmp/dynette_flush_bind_cache", "w").close
# 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.