3x-ui/web/service
Vlad Yaroslavlev 278aa1c85c
Some checks are pending
Release 3X-UI / build (386) (push) Waiting to run
Release 3X-UI / build (amd64) (push) Waiting to run
Release 3X-UI / build (arm64) (push) Waiting to run
Release 3X-UI / build (armv5) (push) Waiting to run
Release 3X-UI / build (armv6) (push) Waiting to run
Release 3X-UI / build (armv7) (push) Waiting to run
Release 3X-UI / build (s390x) (push) Waiting to run
Release 3X-UI / Build for Windows (push) Waiting to run
Fix telegram bot issue (#3608)
* fix: improve Telegram bot handling for concurrent starts and graceful shutdown

- Added logic to stop any existing long-polling loop when Start is called again.
- Introduced a mutex to manage access to shared state variables, ensuring thread safety.
- Updated the OnReceive method to prevent multiple concurrent executions.
- Enhanced Stop method to ensure proper cleanup of resources and state management.

* fix: enhance Telegram bot's long-polling management

- Improved handling of concurrent starts by stopping existing long-polling loops.
- Implemented mutex for thread-safe access to shared state variables.
- Updated OnReceive method to prevent multiple executions.
- Enhanced Stop method for better resource cleanup and state management.

* .
2026-01-02 16:13:32 +01:00
..
config.json dokodemo-door, socks renamed to mixed, tunnel 2025-09-09 13:57:40 +02:00
inbound.go gofmt 2025-10-21 13:02:55 +02:00
outbound.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
panel.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
server.go fix: handle GitHub API error responses in GetXrayVersions (#3609) 2026-01-02 16:12:13 +01:00
setting.go Feature: add setting certs for subscription while generating for panel (#3578) 2025-11-01 13:10:27 +01:00
tgbot.go Fix telegram bot issue (#3608) 2026-01-02 16:13:32 +01:00
user.go gofmt 2025-10-21 13:02:55 +02:00
warp.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
xray.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
xray_setting.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00