We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb6834a commit 9b0e1c3Copy full SHA for 9b0e1c3
frameworks/Ruby/rage-sequel/config/initializers/sequel.rb
@@ -1,13 +1,11 @@
1
# frozen_string_literal: true
2
3
-require "etc"
4
-
5
SEQUEL_NO_ASSOCIATIONS = true
6
Sequel.extension :fiber_concurrency
7
8
# Determine thread pool size and timeout
9
opts = {
10
- max_connections: (2 * Math.log(256 / Etc.nprocessors)).floor,
+ max_connections: 512,
11
pool_timeout: 10
12
}
13
0 commit comments