Increase connection pool size from 5 to 50
which might improve performance and will certainly prevent connection pool exhaustion exceptions.
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
#
|
||||
default: &default
|
||||
adapter: sqlite3
|
||||
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
||||
pool: 50
|
||||
timeout: 5000
|
||||
extensions:
|
||||
- <%= SqliteVec.loadable_path %>
|
||||
|
||||
Reference in New Issue
Block a user