Skip to content

Commit 67975f4

Browse files
committed
Upgrade telemt engine to v3.0.4 (f7a7fb9)
1 parent 14425a3 commit 67975f4

2 files changed

Lines changed: 12 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: 'cf71703'
9+
default: 'f7a7fb9'
1010
version_tag:
11-
description: 'Version tag (e.g. 3.0.3-cf71703)'
11+
description: 'Version tag (e.g. 3.0.4-f7a7fb9)'
1212
required: true
13-
default: '3.0.3-cf71703'
13+
default: '3.0.4-f7a7fb9'
1414

1515
env:
1616
REGISTRY: ghcr.io

mtproxymax.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ BACKUP_DIR="${INSTALL_DIR}/backups"
2323
CONTAINER_NAME="mtproxymax"
2424
DOCKER_IMAGE_BASE="mtproxymax-telemt"
2525
TELEMT_REPO="telemt/telemt"
26-
TELEMT_MIN_VERSION="3.0.3"
27-
TELEMT_COMMIT="cf71703" # Pinned: v3.0.3 — ME autofallback, flush optimization, IPv6 parser
26+
TELEMT_MIN_VERSION="3.0.4"
27+
TELEMT_COMMIT="f7a7fb9" # Pinned: v3.0.4 — ME Pool V2, keepalives, staggered warmup, reconnect policy
2828
GITHUB_REPO="SamNet-dev/MTProxyMax"
2929
REGISTRY_IMAGE="ghcr.io/samnet-dev/mtproxymax-telemt"
3030

@@ -868,7 +868,7 @@ build_telemt_image() {
868868
local force="${1:-false}"
869869

870870
local commit="${TELEMT_COMMIT}"
871-
local version="3.0.3-${commit}"
871+
local version="3.0.4-${commit}"
872872

873873
# Skip if image already exists (unless forced)
874874
if [ "$force" != "true" ] && docker image inspect "${DOCKER_IMAGE_BASE}:${version}" &>/dev/null; then
@@ -975,7 +975,7 @@ get_docker_image() {
975975
check_telemt_update() {
976976
local current
977977
current=$(get_telemt_version)
978-
# Strip commit suffix for comparison (3.0.3-cf71703 → 3.0.3)
978+
# Strip commit suffix for comparison (3.0.4-f7a7fb9 → 3.0.4)
979979
local current_base="${current%%-*}"
980980
local latest
981981
latest=$(curl -sL --max-time 10 \
@@ -1059,7 +1059,7 @@ metrics_port = ${metrics_port}
10591059
metrics_whitelist = ["127.0.0.1", "::1"]
10601060
10611061
[timeouts]
1062-
client_handshake = 15
1062+
client_handshake = 30
10631063
tg_connect = 10
10641064
client_keepalive = 60
10651065
client_ack = 300
@@ -4436,7 +4436,7 @@ cli_main() {
44364436
# Remove old image so build_telemt_image creates a new one
44374437
docker rmi "${DOCKER_IMAGE_BASE}:$(get_telemt_version)" 2>/dev/null || true
44384438
mkdir -p "$INSTALL_DIR"
4439-
echo "3.0.3-${verify_short}" > "${INSTALL_DIR}/.telemt_version"
4439+
echo "3.0.4-${verify_short}" > "${INSTALL_DIR}/.telemt_version"
44404440
build_telemt_image true
44414441
if is_proxy_running; then
44424442
load_secrets
@@ -4465,7 +4465,7 @@ cli_main() {
44654465
TELEMT_COMMIT="${latest_short}"
44664466
docker rmi "${DOCKER_IMAGE_BASE}:$(get_telemt_version)" 2>/dev/null || true
44674467
mkdir -p "$INSTALL_DIR"
4468-
echo "3.0.3-${latest_short}" > "${INSTALL_DIR}/.telemt_version"
4468+
echo "3.0.4-${latest_short}" > "${INSTALL_DIR}/.telemt_version"
44694469
build_telemt_image true
44704470
if is_proxy_running; then
44714471
load_secrets
@@ -5135,7 +5135,7 @@ show_engine_menu() {
51355135
TELEMT_COMMIT="${latest_short}"
51365136
docker rmi "${DOCKER_IMAGE_BASE}:$(get_telemt_version)" 2>/dev/null || true
51375137
mkdir -p "$INSTALL_DIR"
5138-
echo "3.0.3-${latest_short}" > "${INSTALL_DIR}/.telemt_version"
5138+
echo "3.0.4-${latest_short}" > "${INSTALL_DIR}/.telemt_version"
51395139
build_telemt_image true
51405140
if is_proxy_running; then
51415141
load_secrets
@@ -5169,7 +5169,7 @@ show_engine_menu() {
51695169
TELEMT_COMMIT="${verify_short}"
51705170
docker rmi "${DOCKER_IMAGE_BASE}:$(get_telemt_version)" 2>/dev/null || true
51715171
mkdir -p "$INSTALL_DIR"
5172-
echo "3.0.3-${verify_short}" > "${INSTALL_DIR}/.telemt_version"
5172+
echo "3.0.4-${verify_short}" > "${INSTALL_DIR}/.telemt_version"
51735173
build_telemt_image true
51745174
if is_proxy_running; then
51755175
load_secrets

0 commit comments

Comments
 (0)