From 6a3b09a507aca0498845d9118a21a82bb5054301 Mon Sep 17 00:00:00 2001 From: kim Date: Mon, 10 Nov 2025 07:29:48 +0100 Subject: [chore] update dependencies (#4547) - codeberg.org/gruf/go-ffmpreg: v0.6.12 -> v0.6.14 - github.com/ncruces/go-sqlite3: v0.30.0 -> v0.30.1 - github.com/wazero/wazero: v1.9.0 -> v1.10.0 Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4547 Co-authored-by: kim Co-committed-by: kim --- vendor/github.com/ncruces/go-sqlite3/sqlite.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'vendor/github.com/ncruces/go-sqlite3/sqlite.go') diff --git a/vendor/github.com/ncruces/go-sqlite3/sqlite.go b/vendor/github.com/ncruces/go-sqlite3/sqlite.go index 52532e077..532f05183 100644 --- a/vendor/github.com/ncruces/go-sqlite3/sqlite.go +++ b/vendor/github.com/ncruces/go-sqlite3/sqlite.go @@ -5,12 +5,14 @@ import ( "context" "math/bits" "os" + "runtime" "strings" "sync" "unsafe" "github.com/tetratelabs/wazero" "github.com/tetratelabs/wazero/api" + "github.com/tetratelabs/wazero/experimental" "github.com/ncruces/go-sqlite3/internal/util" "github.com/ncruces/go-sqlite3/vfs" @@ -79,7 +81,9 @@ func compileSQLite() { return } - instance.compiled, instance.err = instance.runtime.CompileModule(ctx, bin) + instance.compiled, instance.err = instance.runtime.CompileModule( + experimental.WithCompilationWorkers(ctx, runtime.GOMAXPROCS(0)/4), + bin) } type sqlite struct { -- cgit v1.2.3