Fossil SCM
Restore the production-mode (not dev-mode) long-pole timeout.
Commit
8da1269599aba81af191afe3818163aedbeab8a7c5b701e7a96d6cd1e4d537ba
Parent
9516f7cd1580b1f…
1 file changed
+2
-2
+2
-2
| --- src/fossil.page.chat.js | ||
| +++ src/fossil.page.chat.js | ||
| @@ -2681,12 +2681,12 @@ | ||
| 2681 | 2681 | 1000 |
| 2682 | 2682 | ); |
| 2683 | 2683 | } |
| 2684 | 2684 | let nErr = 0; |
| 2685 | 2685 | 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, | |
| 2688 | 2688 | urlParams:{ |
| 2689 | 2689 | name: Chat.mxMsg |
| 2690 | 2690 | }, |
| 2691 | 2691 | responseType: "json", |
| 2692 | 2692 | // Disable the ajax start/end handling for this long-polling op: |
| 2693 | 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 |
| --- 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 |