mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-23 14:31:06 +00:00
WIP
This commit is contained in:
parent
1b0e721a9d
commit
63c60b2c1f
2 changed files with 6 additions and 9 deletions
|
@ -80,6 +80,6 @@ if __name__ == '__main__':
|
||||||
while True:
|
while True:
|
||||||
check_status()
|
check_status()
|
||||||
try:
|
try:
|
||||||
time.sleep(1)
|
time.sleep(5)
|
||||||
except (KeyboardInterrupt, SystemExit):
|
except (KeyboardInterrupt, SystemExit):
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -401,14 +401,11 @@
|
||||||
$('#loader_text').text("Bazarr is restarting, please wait...");
|
$('#loader_text').text("Bazarr is restarting, please wait...");
|
||||||
$('#reconnect_overlay').show();
|
$('#reconnect_overlay').show();
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "{{ url_for('restart') }}",
|
url: "{{ url_for('restart') }}"
|
||||||
async: true,
|
})
|
||||||
error: (function () {
|
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
setInterval(ping, 2000);
|
setInterval(ping, 2000);
|
||||||
}, 8000);
|
}, 8000);
|
||||||
})
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
function ping() {
|
function ping() {
|
||||||
|
|
Loading…
Reference in a new issue