Ivan
e2bd5e9be5
Clean up Chinese comments and add comprehensive English README
...
- Replace all Chinese comments with English equivalents in:
- src/health_monitor.rs
- src/lib.rs
- tests/integration_test.rs
- Add comprehensive README.md with:
- Project overview and features
- Architecture diagram
- Installation and configuration guide
- Data format specifications
- Health monitoring documentation
- Troubleshooting guide
2025-06-30 17:40:37 +08:00
Ivan
2a9e34d345
feat: implement robust retry mechanism for API aggregation service
...
Gitea Actions Demo / build (push) Successful in 4m54s
- Add unified retry strategy with exponential backoff and jitter
- Implement health monitoring system for service status tracking
- Enhance WebSocket connection with timeout and heartbeat detection
- Improve WAN polling with connection timeout and error handling
- Add comprehensive test suite for retry mechanisms
- Fix connection hanging issues that prevented proper retry recovery
Key improvements:
- RetryConfig with fast/slow/infinite retry strategies
- HealthMonitor for real-time service status tracking
- Connection timeouts to prevent hanging
- Automatic ping/pong handling for WebSocket
- Consecutive error counting and thresholds
- Detailed logging for better diagnostics
All tests passing: 11 tests (3 unit + 5 integration + 3 lib tests)
2025-06-30 16:49:34 +08:00
Ivan
7fd8639c5e
chore: update deps.
...
Gitea Actions Demo / build (push) Successful in 4m21s
Signed-off-by: Ivan Li <ivanli2048@gmail.com >
2024-11-17 10:00:46 +08:00
Ivan
c94243b838
chore: rm .env.
Gitea Actions Demo / build (push) Successful in 1m1s
2024-05-03 04:49:06 +00:00
Ivan
bb015bf662
fix: auto reconnection x2.
2024-05-03 04:00:27 +00:00
Ivan
0bedfb261c
fix: auto reconnection.
2024-05-02 05:06:47 +00:00
Ivan
ca110fd56d
feat: adding OpenWRT WAN port speeds.
2024-03-30 17:47:53 +08:00
Ivan
df8cb3bb66
ci: musl target.
Gitea Actions Demo / build (push) Successful in 2m24s
2023-06-18 12:31:58 +00:00
Ivan
29c5c85156
ci: musl target.
Gitea Actions Demo / build (push) Failing after 1m24s
2023-06-18 12:29:03 +00:00
Ivan
48339cb574
ci: musl target.
Gitea Actions Demo / build (push) Failing after 1m44s
2023-06-18 19:52:42 +08:00
Ivan
9c0bd589f8
ci: musl target.
Gitea Actions Demo / build (push) Failing after 1m26s
2023-06-18 19:39:03 +08:00
Ivan
8a04618ee7
ci: musl target.
Gitea Actions Demo / build (push) Failing after 1m43s
2023-06-18 19:36:18 +08:00
Ivan
b7b060880c
ci: musl target.
Gitea Actions Demo / build (push) Failing after 1m54s
2023-06-18 19:31:08 +08:00
Ivan
d93a2402e8
ci: musl target.
Gitea Actions Demo / build (push) Failing after 7s
2023-06-18 19:29:04 +08:00
Ivan
4e8628be51
ci: dockerfile.
Gitea Actions Demo / build (push) Successful in 1m16s
2023-05-22 23:45:26 +08:00
Ivan
3f6abc1e0e
ci: build.
Gitea Actions Demo / build (push) Successful in 3m3s
2023-05-22 15:40:10 +00:00
Ivan
cbf24f79d2
ci: dockerfile.
Gitea Actions Demo / build (push) Successful in 1m20s
2023-05-22 23:26:37 +08:00
Ivan
4b0a08e075
ci: build.
Gitea Actions Demo / build (push) Successful in 1m30s
2023-05-22 15:17:41 +00:00
Ivan
e03372e787
ci: build.
Gitea Actions Demo / build (push) Failing after 41s
2023-05-22 15:13:07 +00:00
Ivan
688156bc59
ci: dockerfile.
Gitea Actions Demo / build (push) Successful in 1m52s
2023-05-22 16:00:12 +08:00
Ivan
e90bed71b9
ci
Gitea Actions Demo / build (push) Successful in 2m0s
2023-05-22 04:11:34 +00:00
Ivan
d59f00c638
ci: 合并程序构建和容器镜像构建
Gitea Actions Demo / build (push) Failing after 40s
2023-05-22 11:22:00 +08:00
Ivan
9004511aba
ci: 合并程序构建和容器镜像构建
Gitea Actions Demo / build (push) Failing after 1m58s
2023-05-22 10:55:57 +08:00
Ivan
f58cd9635c
ci: 合并程序构建和容器镜像构建
Gitea Actions Demo / build (push) Failing after 1m58s
2023-05-22 10:48:48 +08:00
Ivan
727efddc22
ci: 合并程序构建和容器镜像构建
Gitea Actions Demo / build (push) Failing after 1m59s
2023-05-22 10:37:40 +08:00
Ivan
4fd3ffa326
ci: 合并程序构建和容器镜像构建
Gitea Actions Demo / build (push) Failing after 0s
2023-05-22 10:33:50 +08:00
Ivan
f3ae0a4b3c
ci: 合并程序构建和容器镜像构建
Gitea Actions Demo / build (push) Failing after 42s
2023-05-22 10:30:57 +08:00
Ivan
c9646bd2c8
ci: use archive
Gitea Actions Demo / build (push) Failing after 49s
Gitea Actions Demo / docker (push) Has been skipped
2023-05-22 01:09:36 +08:00
Ivan
6717bb5e2f
ci:
Gitea Actions Demo / build (push) Successful in 41s
Gitea Actions Demo / docker (push) Failing after 9s
2023-05-22 01:00:16 +08:00
Ivan
3bbab92293
ci:
Gitea Actions Demo / build (push) Successful in 42s
Gitea Actions Demo / docker (push) Failing after 12s
2023-05-22 00:47:25 +08:00
Ivan
ff1a718e76
ci:
Gitea Actions Demo / build (push) Successful in 38s
Gitea Actions Demo / docker (push) Failing after 12s
2023-05-22 00:40:05 +08:00
Ivan
e5c4942c17
ci:
Gitea Actions Demo / build (push) Successful in 53s
Gitea Actions Demo / docker (push) Failing after 18s
2023-05-22 00:27:40 +08:00
Ivan
d5e2ec21e6
ci:
Gitea Actions Demo / build (push) Successful in 46s
Gitea Actions Demo / docker (push) Failing after 10s
2023-05-22 00:21:35 +08:00
Ivan
10ce929470
ci:
Gitea Actions Demo / build (push) Successful in 53s
Gitea Actions Demo / docker (push) Failing after 10s
2023-05-22 00:04:39 +08:00
Ivan
2b507867b5
ci:
Gitea Actions Demo / build (push) Successful in 46s
Gitea Actions Demo / docker (push) Failing after 1m15s
2023-05-22 00:01:11 +08:00
Ivan
f6b1adccc6
ci:
Gitea Actions Demo / build (push) Successful in 44s
Gitea Actions Demo / docker (push) Failing after 18s
2023-05-21 23:56:17 +08:00
Ivan
3d9e137c5a
ci:
Gitea Actions Demo / build (push) Successful in 2m58s
Gitea Actions Demo / docker (push) Failing after 57s
2023-05-21 23:47:28 +08:00
Ivan
78b5472b06
ci:
Gitea Actions Demo / build (push) Successful in 1m15s
Gitea Actions Demo / docker (push) Failing after 4s
2023-05-21 23:43:44 +08:00
Ivan
62690b92de
ci: cache dependencies.
Gitea Actions Demo / build (push) Successful in 3m18s
Gitea Actions Demo / docker (push) Failing after 4s
2023-05-21 23:39:51 +08:00
Ivan
d8168a9576
ci: cache dependencies.
Gitea Actions Demo / build (push) Failing after 1m16s
Gitea Actions Demo / docker (push) Has been skipped
2023-05-21 23:35:18 +08:00
Ivan
1a73c662a8
ci: cache dependencies.
Gitea Actions Demo / build (push) Failing after 1m11s
Gitea Actions Demo / docker (push) Has been skipped
2023-05-21 23:27:40 +08:00
Ivan
6e29c71b68
ci: cache dependencies.
Gitea Actions Demo / build (push) Failing after 5m7s
Gitea Actions Demo / docker (push) Has been skipped
2023-05-21 23:20:59 +08:00
Ivan
38dab1df02
ci: cache dependencies.
Gitea Actions Demo / build (push) Failing after 9s
Gitea Actions Demo / docker (push) Has been skipped
2023-05-21 23:19:39 +08:00
Ivan
0d1dfbf589
ci: cache dependencies.
Gitea Actions Demo / build (push) Failing after 8s
Gitea Actions Demo / docker (push) Has been skipped
2023-05-21 23:15:45 +08:00
Ivan
e5d5d38a3e
ci: cache dependencies.
Gitea Actions Demo / build (push) Failing after 8s
Gitea Actions Demo / docker (push) Has been skipped
2023-05-21 23:08:43 +08:00
Ivan
932342f84f
ci: cache dependencies.
Gitea Actions Demo / docker (push) Has been skipped
Gitea Actions Demo / build (push) Has started running
2023-05-21 17:12:29 +08:00
Ivan
a1e3c18d13
ci: cache dependencies.
Gitea Actions Demo / build (push) Successful in 20m49s
Gitea Actions Demo / docker (push) Failing after 2s
2023-05-21 17:08:19 +08:00
Ivan
585b4420b0
ci: cache dependencies.
Gitea Actions Demo / build (push) Failing after 2m16s
Gitea Actions Demo / docker (push) Has been skipped
2023-05-21 17:02:08 +08:00
Ivan
e2c3d18d63
ci: cache dependencies.
Gitea Actions Demo / build (push) Failing after 2m7s
Gitea Actions Demo / docker (push) Has been skipped
2023-05-21 16:56:55 +08:00
Ivan
56f7cb788e
ci:
Gitea Actions Demo / build (push) Has started running
Gitea Actions Demo / docker (push) Has been cancelled
2023-05-21 16:47:38 +08:00
Ivan
1d9b5248bc
ci:
Gitea Actions Demo / build (push) Failing after 4s
Gitea Actions Demo / docker (push) Has been skipped
2023-05-21 16:46:22 +08:00
Ivan
13c72f52de
ci: use github source.
Gitea Actions Demo / build (push) Failing after 4s
Gitea Actions Demo / docker (push) Has been skipped
2023-05-21 16:41:59 +08:00
Ivan
604a0038e1
ci: use github source.
Gitea Actions Demo / build (push) Failing after 4s
Gitea Actions Demo / docker (push) Has been skipped
2023-05-21 16:39:50 +08:00
Ivan
bc9ebfee39
ci: use github source.
Gitea Actions Demo / docker (push) Has been skipped
Gitea Actions Demo / build (push) Failing after 4s
2023-05-21 16:30:31 +08:00
Ivan
8696738715
ci: use github as 'action-rs/toolchain' source.
Gitea Actions Demo / build (push) Failing after 7s
Gitea Actions Demo / docker (push) Has been skipped
2023-05-21 16:27:41 +08:00
Ivan
511663fb4f
ci: build.
Gitea Actions Demo / build (push) Failing after 2s
Gitea Actions Demo / docker (push) Has been skipped
2023-05-21 16:21:07 +08:00
Ivan
6e06e207dc
ci: 2.
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s
2023-05-21 14:27:39 +08:00
Ivan
d2a51031d4
ci: first commit.
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 42s
2023-05-21 14:16:03 +08:00
Ivan
9a541e1090
feat: retry connect clash.
2023-05-21 14:12:48 +08:00
Ivan
42d65a559d
feat: 使传递给板子的数据结构紧凑。
2023-05-15 23:15:52 +08:00
Ivan
c44018e633
feat: 支持通过 udp 转发。
2023-05-14 11:55:43 +08:00
Ivan
0adccb7100
feat: 支持分别计算直连和代理的流量。
2023-05-14 00:34:09 +08:00
Ivan
0932cf1283
feat: 支持从 clash api 获取实时连接信息。
2023-05-13 19:01:27 +08:00