sidekiq-killswitch 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGES.md +3 -0
- data/CONTRIBUTING.md +25 -0
- data/lib/sidekiq/killswitch/version.rb +1 -1
- data/web/views/kill_switches.html.erb +10 -0
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 19e742c53121e79d47f431622fb85caaa363db4e588465fcebbef34fd24b4c66
|
|
4
|
+
data.tar.gz: '073755898e20e6190cc4578b1094b42a8880a09e7c7825be55a27ad9ff585165'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb06743e6f30e348cf7187ac93853edde5a26c06764f52b2fd273cf6635456582d093da42632a1129dc218adf078068e6fb504441b059a46de818bdc726bbc5b
|
|
7
|
+
data.tar.gz: 071ba3570e2ded8313c637b39442e92f2c5d781751d49efc294057c2e272b73a2136dc017e810fccb99744c29f5cf18a73a29c485aad7a27cd94eae0c8b19b12
|
data/CHANGES.md
CHANGED
data/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
We welcome contributions. For small changes, open a pull request. If you'd like to discuss an improvement or fix before writing the code, please open a Github issue.
|
|
4
|
+
|
|
5
|
+
## Reporting Issues
|
|
6
|
+
|
|
7
|
+
Please report issues in Github issues.
|
|
8
|
+
|
|
9
|
+
# Table of Contents
|
|
10
|
+
|
|
11
|
+
- [Contributing](#contributing)
|
|
12
|
+
- [Reporting Issues](#reporting-issues)
|
|
13
|
+
- [Table of Contents](#table-of-contents)
|
|
14
|
+
- [Technical Details](#technical-details)
|
|
15
|
+
- [Local Development](#local-development)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## Technical Details
|
|
19
|
+
### Local Development
|
|
20
|
+
Clone the repo and open in your IDE of choice.
|
|
21
|
+
|
|
22
|
+
### Releasing a new version
|
|
23
|
+
Tag the branch with the appropriate version number (ex v1.2.0) with `git tag v1.2.0`.
|
|
24
|
+
|
|
25
|
+
Push to the remote repo with `git push origin --tags`
|
|
@@ -4,6 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
<h3><%= t('blackholed_workers')%></h3>
|
|
6
6
|
|
|
7
|
+
<div class="alert alert-danger" role="alert">
|
|
8
|
+
<p>Blackholing workers drops instances of these workers when these instances are pushed to the Sidekiq queue or processed (<a
|
|
9
|
+
href="https://github.com/square/sidekiq-killswitch?tab=readme-ov-file#how-does-it-work" class="alert-link">docs</a>).</p>
|
|
10
|
+
|
|
11
|
+
<p>Only blackhole workers that you don't want to retry later! (e.g. cron jobs or jobs you don't care about) You should be able to reach a state
|
|
12
|
+
of correctness without retrying these workers.</p>
|
|
13
|
+
|
|
14
|
+
<p>Use <%= t('dead_queue_workers') %> if you want to retry these jobs later from the dead queue.</p>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
7
17
|
<form action="<%= root_path %>kill-switches/blackhole_add" method="post" style="margin-bottom: 4px;">
|
|
8
18
|
<%= csrf_tag %>
|
|
9
19
|
<input name="worker_name" />
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sidekiq-killswitch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yuriy Naidyon
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-07-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sidekiq
|
|
@@ -80,7 +80,7 @@ dependencies:
|
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: 0.49.1
|
|
83
|
-
description:
|
|
83
|
+
description:
|
|
84
84
|
email: yurokle@gmail.com
|
|
85
85
|
executables: []
|
|
86
86
|
extensions: []
|
|
@@ -89,6 +89,7 @@ files:
|
|
|
89
89
|
- ".gitignore"
|
|
90
90
|
- ".rubocop.yml"
|
|
91
91
|
- CHANGES.md
|
|
92
|
+
- CONTRIBUTING.md
|
|
92
93
|
- Gemfile
|
|
93
94
|
- LICENSE
|
|
94
95
|
- README.md
|
|
@@ -118,7 +119,7 @@ licenses:
|
|
|
118
119
|
- Apache-2.0
|
|
119
120
|
metadata:
|
|
120
121
|
allowed_push_host: https://rubygems.org
|
|
121
|
-
post_install_message:
|
|
122
|
+
post_install_message:
|
|
122
123
|
rdoc_options: []
|
|
123
124
|
require_paths:
|
|
124
125
|
- lib
|
|
@@ -133,9 +134,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
133
134
|
- !ruby/object:Gem::Version
|
|
134
135
|
version: '0'
|
|
135
136
|
requirements: []
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
signing_key:
|
|
137
|
+
rubygems_version: 3.4.19
|
|
138
|
+
signing_key:
|
|
139
139
|
specification_version: 4
|
|
140
140
|
summary: Cross-host Sidekiq worker killswitches
|
|
141
141
|
test_files:
|