From 9b0e1c3eacb365fb09b9d013481a6a1632dd724f Mon Sep 17 00:00:00 2001 From: Roman Samoilov <2270393+rsamoilov@users.noreply.github.com> Date: Thu, 16 Jan 2025 18:12:12 +0000 Subject: [PATCH] Update connections count --- frameworks/Ruby/rage-sequel/config/initializers/sequel.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frameworks/Ruby/rage-sequel/config/initializers/sequel.rb b/frameworks/Ruby/rage-sequel/config/initializers/sequel.rb index 1a2e070e9d7..273694b7b15 100644 --- a/frameworks/Ruby/rage-sequel/config/initializers/sequel.rb +++ b/frameworks/Ruby/rage-sequel/config/initializers/sequel.rb @@ -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 }