diff --git a/MP.Mon/Pages/_Layout.cshtml b/MP.Mon/Pages/_Layout.cshtml index dad045fc..9134d581 100644 --- a/MP.Mon/Pages/_Layout.cshtml +++ b/MP.Mon/Pages/_Layout.cshtml @@ -85,10 +85,11 @@ reconnectionHandler: { onConnectionDown: (options, error) => { console.error(error); - setTimeout(function () { - tryReload(); - // document.location.reload(); - }, 2000); + // setTimeout(function () { + // document.location.reload(); + // }, 5000); + setTimeout(tryReload(), 3000); + }, onConnectionUp: () => { console.log("Client reconnected!");