diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f2fee72..95514b39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,9 @@ - Included the recovered panic stack trace of `routine.SafeWrap` in the returned error (max 2KB). - Wrap the individual `up`/`down` JSVM migration arguments in `routine.SafeWrap` so that in case of panic we can still print the failed js migration filename. -- Updated `modernc.org/sqlite` to 1.59.0 _(minor performance improvement for large tables by switching the transpiled musl `memmove` with the Go's runtime impmenentation)_. +- Updated `modernc.org/sqlite` to 1.59.0 _(minor performance improvement by switching to Go's `memmove`)_. + +- Other minor changes (godoc typos). ## v0.40.4 diff --git a/plugins/jsvm/jsvm.go b/plugins/jsvm/jsvm.go index b0bc5d57..85b196d6 100644 --- a/plugins/jsvm/jsvm.go +++ b/plugins/jsvm/jsvm.go @@ -83,10 +83,10 @@ type Config struct { HooksFilesPattern string // HooksPoolSize specifies how many goja.Runtime instances to prewarm - // and keep for the JS app hooks gorotines execution. + // and keep for the JS app hooks goroutine execution to reuse. // - // Zero or negative value means that it will create a new goja.Runtime - // on every fired goroutine. + // Zero or negative value means that no pool will be maintained and + // instead it will create a new goja.Runtime on every fired goroutine. HooksPoolSize int // MigrationsDir specifies the JS migrations directory.