tomo-plugin-sidekiq 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +3 -4
- data/lib/tomo/plugin/sidekiq/service.erb +3 -3
- data/lib/tomo/plugin/sidekiq/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47343f116002dd69a27bc8215b9ae461926d0dd72a4ca1f24d955731667e85cc
|
4
|
+
data.tar.gz: de6f99f4c8becd74da447f11d8231e144cbf1cdbd21376834d81cfcbda9dfe78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fca56ddbac7aaab5eea7732edda5371420c022d1e05009b7ef1c5a2c4e60558b0b5d53e805ee1f2ab760f3f8cd6b04fdc8aa6ed680419801fbca812c803ade0
|
7
|
+
data.tar.gz: 43f0fdec634de970ee21f6246f5f9a27e77daa481dc8f8140c3102ebeb6eb0d53d12af5170e313cfac44ab65888bdadde8404fec179bc89ec58a8aed048372a0
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -6,6 +6,8 @@
|
|
6
6
|
|
7
7
|
This is a [tomo](https://github.com/mattbrictson/tomo) plugin that provides tasks for managing [sidekiq](https://github.com/mperham/sidekiq) via [systemd](https://en.wikipedia.org/wiki/Systemd), based on the recommendations in the sidekiq documentation. This plugin assumes that you are also using the tomo `rbenv` and `env` plugins, and that you are using a systemd-based Linux distribution like Ubuntu 18 LTS.
|
8
8
|
|
9
|
+
**This plugin requires Sidekiq 6.0.6 or newer.**
|
10
|
+
|
9
11
|
---
|
10
12
|
|
11
13
|
- [Installation](#installation)
|
@@ -50,7 +52,7 @@ end
|
|
50
52
|
|
51
53
|
### enable-linger
|
52
54
|
|
53
|
-
This plugin installs sidekiq as a user-level service using systemctl --user
|
55
|
+
This plugin installs sidekiq as a user-level service using `systemctl --user`. This allows sidekiq to be installed, started, stopped, and restarted without a root user or sudo. However, when provisioning the host you must make sure to run the following command as root to allow the sidekiq process to continue running even after the tomo deploy user disconnects:
|
54
56
|
|
55
57
|
```
|
56
58
|
# run as root
|
@@ -134,9 +136,6 @@ Add a `config/sidekiq.yml` file to your application (i.e. checked into git) and
|
|
134
136
|
---
|
135
137
|
:queues:
|
136
138
|
- default
|
137
|
-
- mailers
|
138
|
-
- active_storage_analysis
|
139
|
-
- active_storage_purge
|
140
139
|
|
141
140
|
:concurrency: <%= ENV.fetch("SIDEKIQ_CONCURRENCY", "1") %>
|
142
141
|
```
|
@@ -4,14 +4,14 @@ After=syslog.target network.target
|
|
4
4
|
ConditionPathExists=<%= paths.current %>
|
5
5
|
|
6
6
|
[Service]
|
7
|
-
ExecReload=/usr/bin/kill -TSTP $MAINPID
|
8
7
|
ExecStart=/bin/bash -lc 'exec bundle exec sidekiq'
|
9
|
-
Restart=
|
8
|
+
Restart=always
|
10
9
|
RestartSec=1
|
11
10
|
StandardError=syslog
|
12
11
|
StandardOutput=syslog
|
13
12
|
SyslogIdentifier=%n
|
14
|
-
Type=
|
13
|
+
Type=notify
|
14
|
+
WatchdogSec=10
|
15
15
|
WorkingDirectory=<%= paths.current %>
|
16
16
|
|
17
17
|
# Greatly reduce Ruby memory fragmentation and heap usage
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tomo-plugin-sidekiq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brictson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tomo
|
@@ -45,6 +45,7 @@ metadata:
|
|
45
45
|
changelog_uri: https://github.com/mattbrictson/tomo-plugin-sidekiq/releases
|
46
46
|
source_code_uri: https://github.com/mattbrictson/tomo-plugin-sidekiq
|
47
47
|
homepage_uri: https://github.com/mattbrictson/tomo-plugin-sidekiq
|
48
|
+
rubygems_mfa_required: 'true'
|
48
49
|
post_install_message:
|
49
50
|
rdoc_options: []
|
50
51
|
require_paths:
|
@@ -53,14 +54,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
53
54
|
requirements:
|
54
55
|
- - ">="
|
55
56
|
- !ruby/object:Gem::Version
|
56
|
-
version: 2.6
|
57
|
+
version: '2.6'
|
57
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
59
|
requirements:
|
59
60
|
- - ">="
|
60
61
|
- !ruby/object:Gem::Version
|
61
62
|
version: '0'
|
62
63
|
requirements: []
|
63
|
-
rubygems_version: 3.
|
64
|
+
rubygems_version: 3.3.18
|
64
65
|
signing_key:
|
65
66
|
specification_version: 4
|
66
67
|
summary: sidekiq tasks for tomo
|