pull/936/head
Louis Vézina 5 years ago
parent 1b0e721a9d
commit 63c60b2c1f

@ -80,6 +80,6 @@ if __name__ == '__main__':
while True:
check_status()
try:
time.sleep(1)
time.sleep(5)
except (KeyboardInterrupt, SystemExit):
pass

@ -401,14 +401,11 @@
$('#loader_text').text("Bazarr is restarting, please wait...");
$('#reconnect_overlay').show();
$.ajax({
url: "{{ url_for('restart') }}",
async: true,
error: (function () {
setTimeout(function () {
setInterval(ping, 2000);
}, 8000);
})
});
url: "{{ url_for('restart') }}"
})
setTimeout(function () {
setInterval(ping, 2000);
}, 8000);
});
function ping() {

Loading…
Cancel
Save