ayi21sui
855c269fb8
fix: SQLite connection leak causing unbounded memory growth
...
SaveStats returned tx.Create().Error directly without assigning to the
local err variable, so the deferred closure always saw err==nil and
called Commit() on a failed transaction. This left the underlying
go-sqlite3 connection unreturned to the pool. With StatsJob firing
every 10s, leaked connections accumulated ~150 KB each, reaching
400+ MB after ~33 hours.
Fixes:
- stats.go: assign Create result to err so defer can Rollback on failure
- backup.go: defer-close backupDb to prevent pool leak on early return
- migration/main.go: defer-close migration db
- db.go: add ConnMaxIdleTime(5m), lower MaxIdleConns to 2, set
_cache_size=-200 to reduce per-connection memory from ~2 MB to ~200 KB
Measured: RSS dropped from 419 MB to 66 MB, db file descriptors from
4484 to 6, with zero growth over 3-minute observation window.
2026-05-07 12:30:59 +08:00
Alireza Ahmadi
1f393fc37f
v1.4.1
v1.4.1
2026-03-29 10:31:16 +02:00
Alireza Ahmadi
764e1ba165
fix: update ECH handling in ClashService
2026-03-28 20:49:25 +01:00
Alireza Ahmadi
fed5298156
Sing-Box v1.13.4
2026-03-28 20:48:57 +01:00
Alireza Ahmadi
456aed053e
Merge pull request #1060 from alireza0/dependabot/go_modules/github.com/sagernet/sing-box-1.13.3
...
Bump github.com/sagernet/sing-box from 1.13.2 to 1.13.3
2026-03-22 21:50:53 +01:00
Alireza Ahmadi
3a5b17b103
Merge pull request #1061 from alireza0/dependabot/go_modules/google.golang.org/grpc-1.79.3
...
Bump google.golang.org/grpc from 1.79.1 to 1.79.3
2026-03-22 21:50:38 +01:00
Alireza Ahmadi
722005f345
[clash] default proxy and proxy-group support #1066
2026-03-22 21:41:53 +01:00
Alireza Ahmadi
02c67d9232
Merge pull request #1065 from cola-prince/fix-hy2-mport-compat
...
Fix hy2 mport format when generating JSON
2026-03-22 20:25:27 +01:00
Alireza Ahmadi
84e6aa5e21
Merge pull request #1064 from cola-prince/fix-up-mbps
...
fix: remove default up_mbps and down_mbps fallback to allow BBR
2026-03-22 20:23:32 +01:00
Alireza Ahmadi
0042d3e7f4
Merge pull request #1063 from cola-prince/fix-servername
...
fix: correct servername handling for vless/vmess
2026-03-22 20:22:07 +01:00
Alireza Ahmadi
d21993804c
fix tracker nil porinter #1057
2026-03-22 19:10:59 +01:00
Alireza Ahmadi
9d35e02e0e
fix db WAL memory leak #1056
2026-03-22 19:08:31 +01:00
Alireza Ahmadi
135fcb0cda
fix http restart memory leak #1056
2026-03-22 18:46:43 +01:00
Alireza Ahmadi
11505a5c05
simplify conn tracker #1056
2026-03-22 18:42:17 +01:00
Alireza Ahmadi
237707b31c
fix conn tracker memory leak #1056
2026-03-22 18:29:58 +01:00
cola-prince
ae4581d17b
Fix hy2 mport parsing compatibility
2026-03-21 14:43:44 +08:00
cola-prince
0b099f60c5
fix: remove default up_mbps fallback to allow BBR
2026-03-21 13:31:49 +08:00
cola-prince
5ce40e300a
fix: correct servername handling for vless/vmess
2026-03-21 13:21:07 +08:00
dependabot[bot]
1f0a3a25f1
Bump google.golang.org/grpc from 1.79.1 to 1.79.3
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.79.1 to 1.79.3.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.79.1...v1.79.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-19 02:26:11 +00:00
dependabot[bot]
e74944065b
Bump github.com/sagernet/sing-box from 1.13.2 to 1.13.3
...
---
updated-dependencies:
- dependency-name: github.com/sagernet/sing-box
dependency-version: 1.13.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-16 17:39:50 +00:00
Alireza Ahmadi
1ef0ffa60e
fix reset core conflict
2026-03-11 23:48:54 +01:00
Alireza Ahmadi
51cf30f429
v1.4.0
v1.4.0
2026-03-09 02:37:15 +01:00
Alireza Ahmadi
14ea27292f
use journal mode WAL for expand db use
2026-03-08 23:18:42 +01:00
Alireza Ahmadi
6ba547331e
[feat] delayStart and autoReset #718
2026-03-08 23:18:08 +01:00
Alireza Ahmadi
f4e08c8ae3
downsampling for traffic chart #987
2026-03-08 01:50:49 +01:00
Alireza Ahmadi
4424565da4
bulk edit-delete #636 #1035
2026-03-08 01:23:07 +01:00
Alireza Ahmadi
93dd02f53e
better restart error handling by 15s wait
2026-03-07 14:39:55 +01:00
Alireza Ahmadi
7b5b30ca8f
SingBox v1.13.2
2026-03-07 14:36:01 +01:00
Alireza Ahmadi
4caddb800d
Merge pull request #1044 from alireza0/dependabot/github_actions/actions/cache-5
...
Bump actions/cache from 4 to 5
2026-03-07 11:38:25 +01:00
Alireza Ahmadi
f50be0bb41
Merge pull request #1045 from alireza0/dependabot/github_actions/actions/download-artifact-8
...
Bump actions/download-artifact from 7 to 8
2026-03-07 11:37:26 +01:00
Alireza Ahmadi
7bfd753bb0
Merge pull request #1046 from alireza0/dependabot/github_actions/docker/setup-buildx-action-4
...
Bump docker/setup-buildx-action from 3 to 4
2026-03-07 11:37:05 +01:00
Alireza Ahmadi
654249deb6
Merge pull request #1049 from alireza0/dependabot/github_actions/docker/metadata-action-6
...
Bump docker/metadata-action from 5 to 6
2026-03-07 11:36:41 +01:00
Alireza Ahmadi
efe6bca87c
Merge pull request #1050 from alireza0/dependabot/github_actions/docker/build-push-action-7
...
Bump docker/build-push-action from 6 to 7
2026-03-07 11:36:29 +01:00
Seva
a721c85955
Bugfix: User can't change DNS Invaild Settings ( #1042 )
...
* Fix core restart panic on invalid DNS config
* Avoid nil instance race after core stop
2026-03-07 11:34:33 +01:00
dependabot[bot]
69d79e5d91
Bump docker/build-push-action from 6 to 7
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 6 to 7.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-06 16:53:49 +00:00
dependabot[bot]
2deb250a23
Bump docker/metadata-action from 5 to 6
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 5 to 6.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Commits](https://github.com/docker/metadata-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-06 16:53:45 +00:00
dependabot[bot]
14c889f948
Bump docker/setup-buildx-action from 3 to 4
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 3 to 4.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-05 17:29:58 +00:00
dependabot[bot]
e76ca2ea9d
Bump actions/download-artifact from 7 to 8
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '8'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-05 17:29:53 +00:00
dependabot[bot]
775b9b57bc
Bump actions/cache from 4 to 5
...
Bumps [actions/cache](https://github.com/actions/cache ) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-05 17:29:43 +00:00
Alireza Ahmadi
c70f0f97b3
Sing-Box v1.13.0
2026-03-05 00:48:32 +01:00
Alireza Ahmadi
86379818a2
v1.3.11
v1.3.11
2026-02-28 13:28:48 +01:00
Alireza Ahmadi
8a07d2df7e
Merge pull request #1033 from alireza0/dependabot/github_actions/actions/upload-artifact-7
...
Bump actions/upload-artifact from 6 to 7
2026-02-28 02:03:57 +01:00
Alireza Ahmadi
7d63da8be3
Merge pull request #1032 from alireza0/dependabot/github_actions/actions/download-artifact-8
...
Bump actions/download-artifact from 7 to 8
2026-02-28 02:03:39 +01:00
Alireza Ahmadi
06ee9cfce2
Sing-Box v1.12.23
2026-02-28 02:02:10 +01:00
Alireza Ahmadi
13d475da20
fix crash on restart due to change #1030
2026-02-28 01:52:34 +01:00
dependabot[bot]
fbf46a72b0
Bump actions/upload-artifact from 6 to 7
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-02-27 16:53:23 +00:00
dependabot[bot]
5bb15ff2c9
Bump actions/download-artifact from 7 to 8
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '8'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-02-27 16:53:18 +00:00
Alireza Ahmadi
5812d6a827
fix docker logs and db #1019
2026-02-17 21:14:37 +01:00
Seva
083f19324f
Fix directory when running as administrator ( #1009 )
...
* Update install-windows.bat
* Update s-ui-windows.bat
* Update install-windows.bat
* Update build-windows.bat
2026-02-17 20:26:16 +01:00
Alireza Ahmadi
dd07abf501
fix inbound delete affects on client #1008
2026-02-17 20:08:03 +01:00