Skip to content

Commit

Permalink
Update connections count
Browse files Browse the repository at this point in the history
  • Loading branch information
rsamoilov committed Jan 16, 2025
1 parent fb6834a commit 9b0e1c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frameworks/Ruby/rage-sequel/config/initializers/sequel.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# frozen_string_literal: true

require "etc"

SEQUEL_NO_ASSOCIATIONS = true
Sequel.extension :fiber_concurrency

# Determine thread pool size and timeout
opts = {
max_connections: (2 * Math.log(256 / Etc.nprocessors)).floor,
max_connections: 512,
pool_timeout: 10
}

Expand Down

0 comments on commit 9b0e1c3

Please sign in to comment.