1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-11-24 07:04:51 +02:00

added hooksPool flag and updated doc comments

This commit is contained in:
Gani Georgiev
2023-07-08 20:02:03 +03:00
parent a557aa35f5
commit c293994d2b
3 changed files with 12 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ type Config struct {
// If not set it fallbacks to a relative "pb_data/../pb_hooks" directory.
HooksDir string
// HooksPoolSize specifies how many goja.Runtime instances to preinit
// HooksPoolSize specifies how many goja.Runtime instances to prewarm
// and keep for the JS app hooks gorotines execution.
//
// Zero or negative value means that it will create a new goja.Runtime