# frozen_string_literal: true

# Puma 配置文件
# 使用单进程模式，避免 cluster mode 问题

workers 0
threads_count = 5
threads threads_count, threads_count

port 9000
bind 'tcp://0.0.0.0:9000'

environment ENV['RACK_ENV'] || 'development'

# silence_single_worker_warning is only relevant when workers > 0
silence_single_worker_warning if respond_to?(:silence_single_worker_warning)
