From 9a786c014a9efd4e9a51230f278995e63388aa5a Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 4 Mar 2024 17:46:11 +0100 Subject: [PATCH] Lascio tentativo x 10 min --- MP.Mon/Pages/_Layout.cshtml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/MP.Mon/Pages/_Layout.cshtml b/MP.Mon/Pages/_Layout.cshtml index 0c0e730f..befa81a0 100644 --- a/MP.Mon/Pages/_Layout.cshtml +++ b/MP.Mon/Pages/_Layout.cshtml @@ -65,18 +65,18 @@ maxRetries: 600, retryIntervalMilliseconds: 1000 }, - reconnectionHandler: { + // reconnectionHandler: { // onConnectionDown: (options, error) => { // console.error(error); // // setTimeout(function () { // // document.location.reload(); // // }, 10000); // }, - onConnectionUp: () => { - console.log("Client reconnected!"); - document.location.reload(); - } - } + // onConnectionUp: () => { + // console.log("Client reconnected!"); + // document.location.reload(); + // } + // } // }).then(() => { // Blazor.defaultReconnectionHandler._reconnectCallback = function (d) { // console.log("Client reconnected!");