pechkin 2.0.0 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- 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 +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ec4615e84c716a8145cc2eb23ffce1a1cb252b3b19af4bc2ede902ad9d93b8f
|
4
|
+
data.tar.gz: 28203bd469d71e8c9ab0c294635ce190b11805b022857603d10a0d955d488ad1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9388a19f538d3c60b07bae725cf20bf8a42e6cd25a1aa3904d9b716717e938e0bec81b81933ceddabeb525e64393480fa5b88a85cabd1fc927574d8cad5a821
|
7
|
+
data.tar.gz: 4307463861177b312d58839e9dd011ddf832093a615b1014d929f1ccc265cc7feee4dc499de76d16838cac4658e2a56cd4ada513e69eaf488de9bc9e7e24e9fb
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ilya Arkhanhelsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htauth
|
@@ -58,28 +58,28 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 6.4.
|
61
|
+
version: 6.4.2
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 6.4.
|
68
|
+
version: 6.4.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rack
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 3.0.
|
75
|
+
version: 3.0.9.1
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 3.0.
|
82
|
+
version: 3.0.9.1
|
83
83
|
description:
|
84
84
|
email: ilya.arkhanhelsky at gmail.com
|
85
85
|
executables:
|