We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfde583 commit cb54d2eCopy full SHA for cb54d2e
3 files changed
Gemfile.lock
@@ -1,7 +1,7 @@
1
PATH
2
remote: .
3
specs:
4
- stack-service-base (0.0.82)
+ stack-service-base (0.0.84)
5
async
6
debug
7
dotenv
lib/stack-service-base/fiber_pool.rb
@@ -19,7 +19,8 @@
19
20
class FiberConnectionPool < Sequel::ConnectionPool
21
VALIDATION_TIMEOUT = 20
22
- POOL_SIZE = 10
+ POOL_SIZE = ENV.fetch('DB_CONNECTION_POOL_SIZE', '10').to_i
23
+ LOGGER.info "DB_CONNECTION_POOL_SIZE: #{POOL_SIZE}"
24
25
def initialize(db, opts = OPTS)
26
otl_span "FiberConnectionPool.initialize" do |span|
lib/stack-service-base/version.rb
@@ -1,3 +1,3 @@
module StackServiceBase
- VERSION = '0.0.83'
+ VERSION = '0.0.84'
end
0 commit comments