mirror of
https://github.com/YunoHost/dynette.git
synced 2024-09-03 20:06:17 +02:00
[fix] 90 secondes is not enough, let's be sure that this works
This commit is contained in:
parent
8bfe653531
commit
8446a552f2
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ put '/migrate_key_to_sha512/' do
|
||||||
|
|
||||||
# assume that the dynette.cron.py runs every minute like on prod and add a
|
# assume that the dynette.cron.py runs every minute like on prod and add a
|
||||||
# bit of security margin. I hate that.
|
# bit of security margin. I hate that.
|
||||||
sleep(90)
|
sleep(180)
|
||||||
|
|
||||||
halt 201, { :public_key => entry.public_key, :subdomain => entry.subdomain, :current_ip => entry.current_ip }.to_json
|
halt 201, { :public_key => entry.public_key, :subdomain => entry.subdomain, :current_ip => entry.current_ip }.to_json
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue