From ae56411e9f78415745c235fb92fbb7abc139b966 Mon Sep 17 00:00:00 2001 From: zeripath Date: Fri, 3 Jul 2020 10:55:36 +0100 Subject: Move EventSource to SharedWorker (#12095) Move EventSource to use a SharedWorker. This prevents issues with HTTP/1.1 open browser connections from preventing gitea from opening multiple tabs. Also allow setting EVENT_SOURCE_UPDATE_TIME to disable EventSource updating Fix #11978 Signed-off-by: Andrew Thornton Co-authored-by: silverwind Co-authored-by: techknowlogick --- .eslintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.eslintrc') diff --git a/.eslintrc b/.eslintrc index 1a7551aee7..8e478f4a5a 100644 --- a/.eslintrc +++ b/.eslintrc @@ -28,7 +28,7 @@ globals: Tribute: false overrides: - - files: ["web_src/**/*.worker.js", "web_src/js/serviceworker.js"] + - files: ["web_src/**/*worker.js"] env: worker: true -- cgit v1.2.3