solid_queue_plus 0.1.0 → 0.1.1
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 +4 -4
- data/README.md +71 -0
- data/lib/solid_queue_plus/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ca65e8879775161678c2b86f46ba0b0e338916582e75fc860c07d056821991c
|
4
|
+
data.tar.gz: dcde1d445356cd72f0df76f29f7af384de86533b2b64c85825d1cf7fdfbba17a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98267fe45a3cb30977c67d1dd312ab7d518de980a1e69cdf52f3fb638e9652f06f199bfe932a44c174ab61818e27ecfe7d4206b26e4df356d304aabc3b1d9885
|
7
|
+
data.tar.gz: 318a37e7c49551b1141cdbf9e27486e73e99a60f5c44e96d3140ab772a948dd442415052f636b429c26be2625cc3e1dde6132bc871d11d53c28f3344cdf2906f
|
data/README.md
CHANGED
@@ -14,3 +14,74 @@ Add this line to your application's Gemfile:
|
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
gem 'solid_queue_plus', github: 'sukendhar/solid_queue_plus'
|
17
|
+
```
|
18
|
+
|
19
|
+
Then run:
|
20
|
+
|
21
|
+
```bash
|
22
|
+
bundle install
|
23
|
+
```
|
24
|
+
|
25
|
+
---
|
26
|
+
|
27
|
+
## Usage
|
28
|
+
|
29
|
+
### 🔁 Automatic Job Retries
|
30
|
+
|
31
|
+
Add this to an initializer:
|
32
|
+
|
33
|
+
```ruby
|
34
|
+
SolidQueue.before_perform do |job|
|
35
|
+
SolidQueuePlus::RetryMiddleware.new.call(job) do
|
36
|
+
job.perform_now
|
37
|
+
end
|
38
|
+
end
|
39
|
+
```
|
40
|
+
|
41
|
+
Customize retry logic in `RetryMiddleware`.
|
42
|
+
|
43
|
+
---
|
44
|
+
|
45
|
+
### 🛑 Failure Notifications
|
46
|
+
|
47
|
+
Set your Slack webhook URL:
|
48
|
+
|
49
|
+
```bash
|
50
|
+
export SOLID_QUEUE_SLACK_WEBHOOK=https://hooks.slack.com/services/your/webhook/url
|
51
|
+
```
|
52
|
+
|
53
|
+
Edit `SolidQueuePlus::Notifier` to integrate with:
|
54
|
+
- Slack (`slack-notifier`)
|
55
|
+
- Email (via ActionMailer, optional)
|
56
|
+
|
57
|
+
---
|
58
|
+
|
59
|
+
### 📊 Monitoring Dashboard
|
60
|
+
|
61
|
+
Mount the dashboard in `config/routes.rb`:
|
62
|
+
|
63
|
+
```ruby
|
64
|
+
mount SolidQueuePlus::Engine => "/solid_queue_plus"
|
65
|
+
```
|
66
|
+
|
67
|
+
Then open [http://localhost:3000/solid_queue_plus](http://localhost:3000/solid_queue_plus) to view live job status.
|
68
|
+
|
69
|
+
---
|
70
|
+
|
71
|
+
## Roadmap
|
72
|
+
|
73
|
+
- [ ] Add Hotwire interactivity to dashboard
|
74
|
+
- [ ] Add filters and retry actions to dashboard UI
|
75
|
+
- [ ] Built-in authentication support
|
76
|
+
|
77
|
+
---
|
78
|
+
|
79
|
+
## Contributing
|
80
|
+
|
81
|
+
Bug reports and pull requests are welcome on GitHub at [https://github.com/sukendhar/solid_queue_plus](https://github.com/yourusername/solid_queue_plus).
|
82
|
+
|
83
|
+
---
|
84
|
+
|
85
|
+
## License
|
86
|
+
|
87
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|