Skip to content

Commit dbec69c

Browse files
committed
Upgrade engine to v3.3.36 — Apple/XNU fixes, ME rewrite, memory optimizations
1 parent 1e9a8e2 commit dbec69c

3 files changed

Lines changed: 13 additions & 12 deletions

File tree

.github/workflows/build-engine.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ on:
66
telemt_commit:
77
description: 'Telemt commit hash to build from'
88
required: true
9-
default: 'a383efc'
9+
default: '8ac1a00'
1010
version_tag:
11-
description: 'Version tag (e.g. 3.3.32-a383efc)'
11+
description: 'Version tag (e.g. 3.3.36-8ac1a00)'
1212
required: true
13-
default: '3.3.32-a383efc'
13+
default: '3.3.36-8ac1a00'
1414

1515
env:
1616
REGISTRY: ghcr.io

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ mtproxymax telegram remove # Remove bot completely
585585

586586
## 📋 Changelog
587587

588-
### v1.0.4 — Replication, Engine v3.3.32, SNI Policy & Metrics Dashboard
588+
### v1.0.4 — Replication, Engine v3.3.36, SNI Policy & Metrics Dashboard
589589

590590
- **Replication** — sync config from master to slave servers via rsync+SSH with systemd timer
591591
- **Auto-exclude**`settings.conf` and `replication.conf` are never synced to slaves, preserving their role and local state
@@ -595,13 +595,14 @@ mtproxymax telegram remove # Remove bot completely
595595
- **Role guards**`replication add/remove/sync` are blocked with a clear error on slave servers
596596
- **Sync script auto-update** — manual `sync` always regenerates the script from current binary
597597

598-
**Engine Upgrade (v3.3.31 → v3.3.32):**
598+
**Engine Upgrade (v3.3.31 → v3.3.36):**
599599

600-
- **Bounded Hybrid Routing Loop** — Hard timeout on ME no-writer recovery, prevents infinite-spin edge case
601-
- **ArcSwap Snapshots** — Lock-free concurrent reads on writer pools, endpoints, and family state for less contention
602-
- **Parallel Health Checks** — Reduced latency during writer recovery
603-
- **Refined Quarantine** — Draining writers no longer needlessly quarantine healthy endpoints
604-
- **New Backpressure Model** — Tiered base/high watermark for better overload handling
600+
- **Apple/XNU Connectivity Fixes** — Resolves connection issues for iOS/macOS Telegram clients
601+
- **ME Rewrite** — Hybrid routing loop, ArcSwap snapshots, parallel health checks, refined quarantine, tiered backpressure
602+
- **Memory Optimizations** — Buffer pool trim, session vec shrink, reduced stats memory footprint
603+
- **Upstream Timeout Tuning**`tg_connect` timeout now applied to DC TCP connect attempts, prevents hanging connections
604+
- **Active IPs API** — New `/v1/stats/users/active-ips` endpoint
605+
- **Configurable `listen_backlog`** — Tunable TCP listen queue for high-connection servers
605606

606607
**New Features:**
607608

mtproxymax.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ REPLICATION_FILE="${INSTALL_DIR}/replication.conf"
2626
REPLICATION_SSH_DIR="${INSTALL_DIR}/.ssh"
2727
CONTAINER_NAME="mtproxymax"
2828
DOCKER_IMAGE_BASE="mtproxymax-telemt"
29-
TELEMT_MIN_VERSION="3.3.32"
30-
TELEMT_COMMIT="a383efc" # Pinned: v3.3.32hybrid loop, ArcSwap snapshots, ME decomposition
29+
TELEMT_MIN_VERSION="3.3.36"
30+
TELEMT_COMMIT="8ac1a00" # Pinned: v3.3.36Apple/XNU fixes, memory optimizations, upstream timeout tuning
3131
GITHUB_REPO="SamNet-dev/MTProxyMax"
3232
REGISTRY_IMAGE="ghcr.io/samnet-dev/mtproxymax-telemt"
3333

0 commit comments

Comments
 (0)