1520 Commits

Author SHA1 Message Date
Lawrence, Rendall
c16f85c79a (deps): update dependencies v0.0.9 2024-08-06 21:54:39 +03:00
Lawrence, Rendall
113a02623d (minor) separate metrics server creation and start, allow pretty print log to file 2024-08-06 21:52:25 +03:00
SOT-TECH
ca1b3cef17 Merge pull request #107 from sot-tech/fasthttp_metrics
Switch prometheus listener to fasthttp
v0.0.8
2024-07-26 18:42:11 +00:00
Lawrence, Rendall
1a3a55ab4a switch prometheus listener to fasthttp 2024-07-26 21:38:20 +03:00
SOT-TECH
661f56daa1 Merge pull request #106 from sot-tech/lmdb
Implement LMDB storage
2024-07-01 08:37:12 +00:00
Lawrence, Rendall
307840ad16 update benchmark result of lmdb 2024-06-28 13:38:35 +03:00
Lawrence, Rendall
f010cabdb1 remove separate key for L/S count 2024-06-27 20:27:20 +03:00
Lawrence, Rendall
32193ee329 Add LMDB info to README 2024-06-25 18:03:22 +03:00
Lawrence, Rendall
16f82edae6 disable tests for lmdb if CGO not enabled 2024-06-25 17:49:41 +03:00
Lawrence, Rendall
5fa3b0431c add man for lmdb storage
* update dependencies
2024-06-25 17:45:30 +03:00
Lawrence, Rendall
97eb79c81b (minor) add max_readers option to example config 2024-06-24 17:09:42 +03:00
Lawrence, Rendall
e61045833a fix lint warnings 2024-06-24 14:01:46 +03:00
Lawrence, Rendall
13d5444ca4 (partially tested) implement LMDB GC
* added AsyncWrite and NoMetaSync flags to increase write speed (if needed)
2024-06-21 18:32:06 +03:00
Lawrence, Rendall
8f2bea1de6 (WIP) replace original lmdb-go with fork 2024-06-18 19:01:59 +03:00
Lawrence, Rendall
b92c9103b9 (WIP) implement LMDB peer storage
todo: GC
2024-06-14 18:56:44 +03:00
Lawrence, Rendall
2adbb5f8c7 (WIP) implementing lmdb peer storage 2024-06-04 18:21:53 +03:00
Lawrence, Rendall
b216e15f37 Merge branch 'master' into lmdb 2024-06-03 15:01:37 +03:00
SOT-TECH
fa036d1f39 Merge pull request #105 from sot-tech/mod
update go min version to 1.22
2024-06-03 11:59:11 +00:00
Lawrence, Rendall
942a9ac11a update go min version to 1.22 2024-06-03 14:54:59 +03:00
Lawrence, Rendall
3011304ae9 Merge branch 'master' into lmdb 2024-06-03 14:27:57 +03:00
SOT-TECH
e3b35850fa Merge pull request #102 from sot-tech/dependabot/go_modules/github.com/redis/go-redis/v9-9.5.2
build(deps): bump github.com/redis/go-redis/v9 from 9.5.1 to 9.5.2
2024-06-03 11:26:31 +00:00
SOT-TECH
011e19bd3f Merge pull request #101 from sot-tech/dependabot/go_modules/github.com/MicahParks/keyfunc/v3-3.3.3
build(deps): bump github.com/MicahParks/keyfunc/v3 from 3.3.2 to 3.3.3
2024-06-03 11:25:28 +00:00
dependabot[bot]
1a48c8c298 build(deps): bump github.com/MicahParks/keyfunc/v3 from 3.3.2 to 3.3.3
Bumps [github.com/MicahParks/keyfunc/v3](https://github.com/MicahParks/keyfunc) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/MicahParks/keyfunc/releases)
- [Commits](https://github.com/MicahParks/keyfunc/compare/v3.3.2...v3.3.3)

---
updated-dependencies:
- dependency-name: github.com/MicahParks/keyfunc/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 11:23:30 +00:00
SOT-TECH
2123de4ee8 Merge pull request #103 from sot-tech/dependabot/go_modules/github.com/MicahParks/jwkset-0.5.18
build(deps): bump github.com/MicahParks/jwkset from 0.5.17 to 0.5.18
2024-06-03 11:22:45 +00:00
dependabot[bot]
30763cf3d6 build(deps): bump github.com/redis/go-redis/v9 from 9.5.1 to 9.5.2
Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis) from 9.5.1 to 9.5.2.
- [Release notes](https://github.com/redis/go-redis/releases)
- [Changelog](https://github.com/redis/go-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/go-redis/compare/v9.5.1...v9.5.2)

---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 11:19:02 +00:00
SOT-TECH
818fb120bf Merge pull request #100 from sot-tech/dependabot/go_modules/github.com/valyala/fasthttp-1.54.0
build(deps): bump github.com/valyala/fasthttp from 1.52.0 to 1.54.0
2024-06-03 11:18:14 +00:00
SOT-TECH
43b7837428 Merge pull request #99 from sot-tech/dependabot/go_modules/github.com/prometheus/client_golang-1.19.1
build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1
2024-06-03 11:17:12 +00:00
SOT-TECH
34a96f4cfa Merge pull request #104 from sot-tech/dependabot/github_actions/golangci/golangci-lint-action-6
build(deps): bump golangci/golangci-lint-action from 5 to 6
2024-06-03 11:16:47 +00:00
dependabot[bot]
338fb38297 build(deps): bump golangci/golangci-lint-action from 5 to 6
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-01 12:16:23 +00:00
dependabot[bot]
6adb8cc3ae build(deps): bump github.com/MicahParks/jwkset from 0.5.17 to 0.5.18
Bumps [github.com/MicahParks/jwkset](https://github.com/MicahParks/jwkset) from 0.5.17 to 0.5.18.
- [Release notes](https://github.com/MicahParks/jwkset/releases)
- [Commits](https://github.com/MicahParks/jwkset/compare/v0.5.17...v0.5.18)

---
updated-dependencies:
- dependency-name: github.com/MicahParks/jwkset
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-01 12:02:18 +00:00
dependabot[bot]
01d9eae299 build(deps): bump github.com/valyala/fasthttp from 1.52.0 to 1.54.0
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp) from 1.52.0 to 1.54.0.
- [Release notes](https://github.com/valyala/fasthttp/releases)
- [Commits](https://github.com/valyala/fasthttp/compare/v1.52.0...1.54.0)

---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-01 12:02:03 +00:00
dependabot[bot]
0df236eff8 build(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.19.0 to 1.19.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.19.0...v1.19.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-01 12:01:59 +00:00
Lawrence, Rendall
b8e9604b9e (WIP) add suffix for redis infohash key creation (for future use) 2024-05-27 14:38:19 +03:00
Lawrence, Rendall
2b17fd4686 (WIP) add missing go.sum changes 2024-05-21 18:52:12 +03:00
Lawrence, Rendall
37c40f9231 (WIP) add LMDB storage 2024-05-21 18:39:55 +03:00
Lawrence, Rendall
2f01a7cfc8 (untested) refactor code, add separate call to create KV-store 2024-05-20 18:28:40 +03:00
SOT-TECH
837b388b2f Merge pull request #98 from sot-tech/dependabot/go_modules/github.com/cespare/xxhash/v2-2.3.0
build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0
2024-05-01 13:44:27 +00:00
SOT-TECH
82e63b9951 Merge pull request #97 from sot-tech/dependabot/github_actions/golangci/golangci-lint-action-5
build(deps): bump golangci/golangci-lint-action from 4 to 5
2024-05-01 13:35:12 +00:00
dependabot[bot]
686ce1e662 build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0
Bumps [github.com/cespare/xxhash/v2](https://github.com/cespare/xxhash) from 2.2.0 to 2.3.0.
- [Commits](https://github.com/cespare/xxhash/compare/v2.2.0...v2.3.0)

---
updated-dependencies:
- dependency-name: github.com/cespare/xxhash/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 12:50:19 +00:00
dependabot[bot]
a44c37e2aa build(deps): bump golangci/golangci-lint-action from 4 to 5
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4 to 5.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 12:05:51 +00:00
Lawrence, Rendall
7a0e42fb4b (minor) add note about 'unlogged' keyword in pg storage 2024-04-13 16:12:53 +03:00
SOT-TECH
5126810ef0 Merge pull request #96 from sot-tech/dep
Update JWK middleware, add ctx passthrough to KeyFunc
2024-04-01 13:31:01 +00:00
Lawrence, Rendall
a414192205 update jwkset, add ctx passthrough to KeyFunc 2024-04-01 16:25:14 +03:00
Lawrence, Rendall
ac5ba76533 (minor) refactor build script v0.0.7 2024-03-20 15:58:47 +03:00
SOT-TECH
97a4ee35ef Merge pull request #93 from sot-tech/dep
Update dependencies (including protobuf with CVE-2024-24786)
2024-03-20 12:41:38 +00:00
Lawrence, Rendall
7e0c3de8b6 update dependencies
fix CVE-2024-24786
2024-03-20 15:32:23 +03:00
Lawrence, Rendall
1a243b94c5 (minor) unify log keys 2024-03-12 15:29:58 +03:00
SOT-TECH
cd5c65e0ef Merge pull request #86 from sot-tech/dependabot/github_actions/golangci/golangci-lint-action-4
build(deps): bump golangci/golangci-lint-action from 3 to 4
2024-03-05 08:50:29 +00:00
SOT-TECH
49c33a6211 Merge pull request #92 from sot-tech/dep
update dependencies
2024-03-05 08:47:52 +00:00
Lawrence, Rendall
95b7f5530f change math/rand to crypto/rand in non-test code 2024-03-05 11:01:18 +03:00