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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 723887e7d626fbcf0bda11c334afcc4e4a6196c450f58d48062077e5cf564390
4
- data.tar.gz: '0939f81ec4ff929964a68faed4228099ede66efe619c29691fb0049c70ff4ac0'
3
+ metadata.gz: 47343f116002dd69a27bc8215b9ae461926d0dd72a4ca1f24d955731667e85cc
4
+ data.tar.gz: de6f99f4c8becd74da447f11d8231e144cbf1cdbd21376834d81cfcbda9dfe78
5
5
  SHA512:
6
- metadata.gz: e82c25f46a375d565117db0c2c932caaa10026dc3f6dff1e03b2372b39cc3220ed545757ff3774915fb2531568368a327461f52f149018ddc1e0cba2368fa63f
7
- data.tar.gz: b1eec820908e7efeb3d5092679307b8d1c99790cce8e093e66a65438bde17e4e3eb404038e45c17b8e51589e31bb7029d174b3c46e7d52063b2018085d9652d1
6
+ metadata.gz: 8fca56ddbac7aaab5eea7732edda5371420c022d1e05009b7ef1c5a2c4e60558b0b5d53e805ee1f2ab760f3f8cd6b04fdc8aa6ed680419801fbca812c803ade0
7
+ data.tar.gz: 43f0fdec634de970ee21f6246f5f9a27e77daa481dc8f8140c3102ebeb6eb0d53d12af5170e313cfac44ab65888bdadde8404fec179bc89ec58a8aed048372a0
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2021 Matt Brictson
3
+ Copyright (c) 2022 Matt Brictson
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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.1".freeze
7
+ VERSION = "1.2.0".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.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: 2021-09-11 00:00:00.000000000 Z
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.0
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.2.26
64
+ rubygems_version: 3.3.18
64
65
  signing_key:
65
66
  specification_version: 4
66
67
  summary: sidekiq tasks for tomo