v2.26.0: fix SSE fanout crash and branded logo FOUC

- Fix SSE fanout thread AttributeError when source queue is None during
  interpreter shutdown by snapshotting to local variable with null guard
- Fix branded "i" logo rendering oversized on first page load (FOUC) by
  adding inline width/height to SVG elements across 10 templates
- Bump version to 2.26.0 in config.py, pyproject.toml, and CHANGELOG.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-03-13 11:51:27 +00:00
parent 00362bcd57
commit e00fbfddc1
183 changed files with 2006 additions and 4243 deletions
+4 -3
View File
@@ -1,6 +1,8 @@
"""Gunicorn configuration for INTERCEPT."""
import contextlib
import warnings
warnings.filterwarnings(
'ignore',
message='Patching more than once',
@@ -33,10 +35,8 @@ def post_fork(server, worker):
_orig = _ForkHooks.after_fork_in_child
def _safe_after_fork(self):
try:
with contextlib.suppress(AssertionError):
_orig(self)
except AssertionError:
pass
_ForkHooks.after_fork_in_child = _safe_after_fork
except Exception:
@@ -53,6 +53,7 @@ def post_worker_init(worker):
"""
try:
import ssl
from gevent import get_hub
hub = get_hub()
suppress = (SystemExit, ssl.SSLZeroReturnError, ssl.SSLError)