pechkin 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/pechkin/cli.rb +0 -3
- data/lib/pechkin/command/run_server.rb +0 -1
- data/lib/pechkin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3dd46b936c7b1df8f293bd4dde36166dc404ca2446e9d8a3df20ef8ed6612951
|
|
4
|
+
data.tar.gz: 57279f6716ebef75fd5bd10b5f77055ef062628e04dc554088e5ddd10f9d8a97
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/pechkin/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2023-11-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: htauth
|