pechkin 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41f0579677371d43215ee3c53c0e9eb1b4e02206bdbf1b1bc1d4898cbd58c981
4
- data.tar.gz: 127385b4694d80fdbbe733bc646ee3b5922db83119912afb6e50f6de84b29e9f
3
+ metadata.gz: 3dd46b936c7b1df8f293bd4dde36166dc404ca2446e9d8a3df20ef8ed6612951
4
+ data.tar.gz: 57279f6716ebef75fd5bd10b5f77055ef062628e04dc554088e5ddd10f9d8a97
5
5
  SHA512:
6
- metadata.gz: 670ffbaf73bbfefbe54ca3f0a1d06d863c3548f41e35c2580e48644f0967009af8818f20fcc5d0256bd59509817a581e322a5140f870e47c62cf30572e3796aa
7
- data.tar.gz: 5059e3fd4354f996692013a819e879a61ccf943737c2d7ed824beb8b5095ce940c5b3b700a10e53044694924e277614db3816bb9370a3098c00b8d867bb823fc
6
+ metadata.gz: 376ef77a2d9192c9b2b51d225ae99b42c515efc2d2fd4fbaf91104ed9dd6ff83790674346232aefbdfca7478a60d9aa2e6626c33cb7f9025d8c35049f469d975
7
+ data.tar.gz: 35439d72aea480eb2077fb429a44ad363f2b98b79ce88d0b2291e4e733f506bc25968fa5574f1d92a3a005dbf8c8c8e0b81652dba29624a2b366c16299ce97f2
data/lib/pechkin/cli.rb CHANGED
@@ -102,9 +102,6 @@ module Pechkin
102
102
  opt :pid_file, names: ['-p', '--pid-file [FILE]'],
103
103
  desc: 'Path to output PID file'
104
104
 
105
- opt :server_workers, names: ['--min-threads [SERVER_WORKERS]'], default: 2, type: Integer,
106
- desc: 'Server workers count. Default: 1'
107
-
108
105
  opt :min_threads, names: ['--min-threads [MIN_THREADS]'], default: 5, type: Integer,
109
106
  desc: 'Min threads count. Default: 5'
110
107
 
@@ -12,7 +12,6 @@ module Pechkin
12
12
  # Configure Puma server instead config.ru
13
13
  puma_config = Puma::Configuration.new do |user_config|
14
14
  user_config.bind "tcp://#{options.bind_address}:#{options.port}"
15
- user_config.workers options.server_workers # Set number of workers
16
15
  user_config.threads options.min_threads, options.max_threads # Set max and min threads
17
16
  user_config.app AppBuilder.new.build(handler, options)
18
17
  end
@@ -1,7 +1,7 @@
1
1
  module Pechkin
2
2
  # Keeps actual version
3
3
  module Version
4
- VERSION = [2, 0, 0].freeze
4
+ VERSION = [2, 0, 1].freeze
5
5
  class << self
6
6
  def version_string
7
7
  VERSION.join('.')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pechkin
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Arkhanhelsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2023-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htauth