hephaestus 0.8.4.1 → 0.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/app/jobs/hephaestus/application_job.rb +8 -2
- data/config/queue.yml +4 -4
- data/lib/hephaestus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b84d2eb6ebcc245c0337f26093cf46d89d08380b76584475891b6a5578e4fbda
|
4
|
+
data.tar.gz: b983824e57e08c8fa71320a3605f256893cb3db63a94e2da7c2ed23876b735ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82a5dfd851446c1b4af1c8e375ffa8263fa5e375df692a07a7b22e4cf9f133d8fca0c82a0dcbe5d15d87a9a6ab2641353528b53aa6a403bdbafa1ec66073ed46
|
7
|
+
data.tar.gz: f605a57f9faa0890bf5c4e2a85643aead84806957f46065f107854d78ab783ead7bbef24b644cde3f262284e0add2496038ac636d5b045a56a0134febe52ddc0
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
# [v0.8.6] - 03-12-2024
|
2
|
+
**Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.8.5...v0.8.6
|
3
|
+
# [v0.8.5] - 03-12-2024
|
4
|
+
## What's Changed
|
5
|
+
* Queue jobs based on plug name by @gjtorikian in https://github.com/yettoapp/hephaestus/pull/74
|
6
|
+
|
7
|
+
|
8
|
+
**Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.8.4.1...v0.8.5
|
1
9
|
# [v0.8.4.1] - 02-12-2024
|
2
10
|
**Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.8.4...v0.8.4.1
|
3
11
|
# [v0.8.4] - 02-12-2024
|
@@ -4,9 +4,15 @@
|
|
4
4
|
module Hephaestus
|
5
5
|
class ApplicationJob < ActiveJob::Base
|
6
6
|
# Automatically retry jobs that encountered a deadlock
|
7
|
-
|
7
|
+
retry_on ActiveRecord::Deadlocked
|
8
8
|
|
9
9
|
# Most jobs are safe to ignore if the underlying records are no longer available
|
10
|
-
|
10
|
+
discard_on ActiveJob::DeserializationError
|
11
|
+
|
12
|
+
class << self
|
13
|
+
def queue_as(part_name = nil, &block)
|
14
|
+
super("plug_#{plug_shortname}_#{part_name}", &block)
|
15
|
+
end
|
16
|
+
end
|
11
17
|
end
|
12
18
|
end
|
data/config/queue.yml
CHANGED
@@ -3,10 +3,10 @@ default: &default
|
|
3
3
|
- polling_interval: 1
|
4
4
|
batch_size: 500
|
5
5
|
workers:
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
- queues: [plug_<%= plug_shortname %>_high_priority*, plug_<%= plug_shortname %>_mid_priority*, plug_<%= plug_shortname %>_low_priority*]
|
7
|
+
threads: 5
|
8
|
+
- queues: "plug_<%= plug_shortname %>_*" # default, mailers, etc
|
9
|
+
threads: 3
|
10
10
|
|
11
11
|
development:
|
12
12
|
<<: *default
|
data/lib/hephaestus/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hephaestus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garen Torikian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootsnap
|