3x-ui/web
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
..
assets Fix QR codes colors inversion (#3607) 2026-01-02 16:12:30 +01:00
controller minor changes 2025-09-24 11:47:14 +02:00
entity gofmt 2025-10-21 13:02:55 +02:00
global docs: add comments for all functions 2025-09-20 09:35:50 +02:00
html fix: display of outbound traffic (#3604) 2025-12-23 15:43:25 +01:00
job fix: handle CPU threshold error to prevent false notifications (#3603) 2025-12-12 14:29:27 +01:00
locale docs: add comments for all functions 2025-09-20 09:35:50 +02:00
middleware docs: add comments for all functions 2025-09-20 09:35:50 +02:00
network docs: add comments for all functions 2025-09-20 09:35:50 +02:00
service Fix telegram bot issue (#3608) 2026-01-02 16:13:32 +01:00
session docs: add comments for all functions 2025-09-20 09:35:50 +02:00
translation Add "Last Online" printing for Telegram bot (#3593) 2025-12-03 14:43:37 +01:00
web.go DevTools 2025-10-02 01:47:12 +02:00