mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-09 13:27:57 +01:00
defined Default* constants for the pool limits
This commit is contained in:
1 parent
b9e257d2b1
commit
8e582acbee
2 files changed
+18
-11
No files matched your search
+4
-4
@@ -51,10 +51,10 @@ type Config struct {
|
||||
HideStartBanner bool
|
||||
|
||||
// optional DB configurations
|
||||
DataMaxOpenConns int // default to 600
|
||||
DataMaxIdleConns int // default 20
|
||||
LogsMaxOpenConns int // default to 500
|
||||
LogsMaxIdleConns int // default to 10
|
||||
DataMaxOpenConns int // default to core.DefaultDataMaxOpenConns
|
||||
DataMaxIdleConns int // default to core.DefaultDataMaxIdleConns
|
||||
LogsMaxOpenConns int // default to core.DefaultLogsMaxOpenConns
|
||||
LogsMaxIdleConns int // default to core.DefaultLogsMaxIdleConns
|
||||
}
|
||||
|
||||
// New creates a new PocketBase instance with the default configuration.
|
||||
|
||||
Reference in new issue
Block a user