sidekiq-process_manager 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/lib/sidekiq/process_manager/manager.rb +2 -1
- data/lib/sidekiq/process_manager/version.rb +1 -1
- data/sidekiq-process_manager.gemspec +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 149acc96c73b7de540d72ceab383a1991658970fb6e8952c91b0ee2edf7c70af
|
4
|
+
data.tar.gz: '0628de42b334f06da28369196ab919bec2264f87bd4a5db373fe946c3104ad16'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2561e359c28d9a3daeed3e8c89c6a97767f536027feb2ce0223a20d97737da4ad4f12afba8941593deed007056c90aa05478ac6b4cd7ffc489ae0b4392b92718
|
7
|
+
data.tar.gz: 2c943e65d8e770fec8824e323fab3abdc37e2f5558ec8397d1278e5ba8e3bc9edff3fd9dcd61f4fae5af2b4b91d259ddcae686f27a0d3f24d6e9b8616a9b2af1
|
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
@@ -37,7 +37,7 @@ If you're already using a pre-forking web server, you'll need to do most of the
|
|
37
37
|
|
38
38
|
## Pre-Booting
|
39
39
|
|
40
|
-
If your application can't be pre-forked, you can at load the gem files and libraries your application depends on instead by specifying a preboot file. This file will be loaded by the master process and any code loaded will be copy-on-write shared with the child processes.
|
40
|
+
If your application can't be pre-forked, you can at least load the gem files and libraries your application depends on instead by specifying a preboot file. This file will be loaded by the master process and any code loaded will be copy-on-write shared with the child processes.
|
41
41
|
|
42
42
|
For a Rails application, you would normally want to preboot the `config/boot.rb` file.
|
43
43
|
|
@@ -1,7 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "sidekiq"
|
4
|
-
require "sidekiq/cli"
|
5
4
|
|
6
5
|
module Sidekiq
|
7
6
|
module ProcessManager
|
@@ -10,6 +9,8 @@ module Sidekiq
|
|
10
9
|
attr_reader :cli
|
11
10
|
|
12
11
|
def initialize(process_count: 1, prefork: false, preboot: nil, mode: nil, silent: false)
|
12
|
+
require "sidekiq/cli"
|
13
|
+
|
13
14
|
# Get the number of processes to fork
|
14
15
|
@process_count = process_count
|
15
16
|
raise ArgumentError.new("Process count must be greater than 1") if @process_count < 1
|
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
|
|
35
35
|
|
36
36
|
spec.add_dependency "sidekiq", ">= 3.0"
|
37
37
|
|
38
|
-
spec.add_development_dependency "bundler"
|
38
|
+
spec.add_development_dependency "bundler"
|
39
39
|
spec.add_development_dependency "rake"
|
40
40
|
spec.add_development_dependency "rspec", "~> 3.0"
|
41
41
|
spec.add_development_dependency "appraisal"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-process_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Durand
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,6 +88,7 @@ executables:
|
|
88
88
|
extensions: []
|
89
89
|
extra_rdoc_files: []
|
90
90
|
files:
|
91
|
+
- CHANGELOG.md
|
91
92
|
- MIT_LICENSE.txt
|
92
93
|
- README.md
|
93
94
|
- bin/sidekiq-process-manager
|