tomo-plugin-sidekiq 1.1.3 → 1.2.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: 830a6c45328795cb7fdd249217fe2c301c39f755af1c79c8e091a50906e67991
4
- data.tar.gz: 22490bb7462877b8cb2e8f6eefdabd9c127a37172d77f127e6cf13e710dcf5f8
3
+ metadata.gz: 0c69f913c8cb39d3a548712fb4594cac6bae074300f731643d4f2c2166eb9b04
4
+ data.tar.gz: ec612fd6fd5addc9da4530de1510e95c02c40ee62b89607211e7f27ac61148fd
5
5
  SHA512:
6
- metadata.gz: 56e9298c8dba7308861a59ff610e8ab7d334ef88f8d54546c1130dabe719652eb0a63a009b1e0b679d2be671b3733bc3859faf93be55f3deff571bb38cd0b71c
7
- data.tar.gz: 3a0e16a73de423d85b925c9376028b3d2f08d7783f38ce6a95df2f724a77d8097eaa07a99ab61082d8540f4f6e170e95a19435761b832ef40045ec6879c24493
6
+ metadata.gz: 94855d6cf0ecb9fcef9c40b05f3af73d91fd33d69bccf2e76b1f23d1414a5771713d2a3159b63c4da3567236ee603856bd19352a83cf72b9634922f1a26ebbe8
7
+ data.tar.gz: caa8a9eda9a255e50b1c825a825cdd963df0938160577cb15665b10a3c842517b81b483e8f48c36751d870526cf7a251dd7114648905a85afcd81839e9f898dc
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. 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:
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=on-failure
8
+ Restart=always
10
9
  RestartSec=1
11
10
  StandardError=syslog
12
11
  StandardOutput=syslog
13
12
  SyslogIdentifier=%n
14
- Type=simple
13
+ Type=notify
14
+ WatchdogSec=10
15
15
  WorkingDirectory=<%= paths.current %>
16
16
 
17
17
  # Greatly reduce Ruby memory fragmentation and heap usage
@@ -4,5 +4,5 @@ module Tomo
4
4
  end
5
5
 
6
6
  module Tomo::Plugin::Sidekiq
7
- VERSION = "1.1.3".freeze
7
+ VERSION = "1.2.1".freeze
8
8
  end
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.1.3
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brictson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-10 00:00:00.000000000 Z
11
+ date: 2022-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tomo
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  requirements: []
64
- rubygems_version: 3.3.13
64
+ rubygems_version: 3.3.25
65
65
  signing_key:
66
66
  specification_version: 4
67
67
  summary: sidekiq tasks for tomo