Skip to content

Commit 9b0e1c3

Browse files
committed
Update connections count
1 parent fb6834a commit 9b0e1c3

File tree

1 file changed

+1
-3
lines changed
  • frameworks/Ruby/rage-sequel/config/initializers

1 file changed

+1
-3
lines changed

frameworks/Ruby/rage-sequel/config/initializers/sequel.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
# frozen_string_literal: true
22

3-
require "etc"
4-
53
SEQUEL_NO_ASSOCIATIONS = true
64
Sequel.extension :fiber_concurrency
75

86
# Determine thread pool size and timeout
97
opts = {
10-
max_connections: (2 * Math.log(256 / Etc.nprocessors)).floor,
8+
max_connections: 512,
119
pool_timeout: 10
1210
}
1311

0 commit comments

Comments
 (0)