Fossil SCM

Restore the production-mode (not dev-mode) long-pole timeout.

stephan 2025-04-10 06:02 chat-backoff-timer2
Commit 8da1269599aba81af191afe3818163aedbeab8a7c5b701e7a96d6cd1e4d537ba
1 file changed +2 -2
--- src/fossil.page.chat.js
+++ src/fossil.page.chat.js
@@ -2681,12 +2681,12 @@
26812681
1000
26822682
);
26832683
}
26842684
let nErr = 0;
26852685
F.fetch("chat-poll",{
2686
- timeout: //420 * 1000/*FIXME: get the value from the server*/,
2687
- 15000,
2686
+ timeout: 420 * 1000/*FIXME: get the value from the server*/,
2687
+ //15000,
26882688
urlParams:{
26892689
name: Chat.mxMsg
26902690
},
26912691
responseType: "json",
26922692
// Disable the ajax start/end handling for this long-polling op:
26932693
--- src/fossil.page.chat.js
+++ src/fossil.page.chat.js
@@ -2681,12 +2681,12 @@
2681 1000
2682 );
2683 }
2684 let nErr = 0;
2685 F.fetch("chat-poll",{
2686 timeout: //420 * 1000/*FIXME: get the value from the server*/,
2687 15000,
2688 urlParams:{
2689 name: Chat.mxMsg
2690 },
2691 responseType: "json",
2692 // Disable the ajax start/end handling for this long-polling op:
2693
--- src/fossil.page.chat.js
+++ src/fossil.page.chat.js
@@ -2681,12 +2681,12 @@
2681 1000
2682 );
2683 }
2684 let nErr = 0;
2685 F.fetch("chat-poll",{
2686 timeout: 420 * 1000/*FIXME: get the value from the server*/,
2687 //15000,
2688 urlParams:{
2689 name: Chat.mxMsg
2690 },
2691 responseType: "json",
2692 // Disable the ajax start/end handling for this long-polling op:
2693

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button