good_job 3.15.8 → 3.15.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -1
- data/README.md +1 -1
- data/app/models/good_job/execution.rb +1 -2
- data/lib/good_job/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: 587b1bc8f95ba439a161eebb06f0ceb527f0f5a93c2807b868799b485a33fa6a
|
4
|
+
data.tar.gz: efb03a245b3ea5361707190862868a2d4077eb957d0ebbaea878548875bba6ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e9c2008e34a477e8ce76cf3e657fc9262b018292f3d3a6293707bd0d573791f26e2ac89ec5f67ba015c678e1016828f609d10e56218d5ee2690b42cb5d78777
|
7
|
+
data.tar.gz: b3b08a16c27dda6dbd1e2a7101ee483ae3b8feba2f3a8bbac4f3519c44ac4bf2ec2d0a88a9752928b852116f95074f34b4c796bf24235b9b57326a4121a10846
|
data/CHANGELOG.md
CHANGED
@@ -1,16 +1,37 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v3.15.9](https://github.com/bensheldon/good_job/tree/v3.15.9) (2023-05-21)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/bensheldon/good_job/compare/v3.15.8...v3.15.9)
|
6
|
+
|
7
|
+
**Fixed bugs:**
|
8
|
+
|
9
|
+
- Fix wait and wait\_until ignored in bulk enqueue [\#960](https://github.com/bensheldon/good_job/pull/960) ([bensheldon](https://github.com/bensheldon))
|
10
|
+
|
11
|
+
**Closed issues:**
|
12
|
+
|
13
|
+
- Does Bulk enqueue respect wait? [\#959](https://github.com/bensheldon/good_job/issues/959)
|
14
|
+
- BaseExecution::discrete\_support? hardcodes the DiscreteExecution table\_name [\#957](https://github.com/bensheldon/good_job/issues/957)
|
15
|
+
|
16
|
+
**Merged pull requests:**
|
17
|
+
|
18
|
+
- Fix flaky jruby test to widen time-based range [\#961](https://github.com/bensheldon/good_job/pull/961) ([bensheldon](https://github.com/bensheldon))
|
19
|
+
- Update README.md [\#953](https://github.com/bensheldon/good_job/pull/953) ([namiwang](https://github.com/namiwang))
|
20
|
+
|
3
21
|
## [v3.15.8](https://github.com/bensheldon/good_job/tree/v3.15.8) (2023-05-19)
|
4
22
|
|
5
23
|
[Full Changelog](https://github.com/bensheldon/good_job/compare/v3.15.7...v3.15.8)
|
6
24
|
|
25
|
+
**Fixed bugs:**
|
26
|
+
|
27
|
+
- Fix hard-coded and duplicated table\_name [\#958](https://github.com/bensheldon/good_job/pull/958) ([gap777](https://github.com/gap777))
|
28
|
+
|
7
29
|
**Closed issues:**
|
8
30
|
|
9
31
|
- `active_job.enqueue` Performance Issue [\#939](https://github.com/bensheldon/good_job/issues/939)
|
10
32
|
|
11
33
|
**Merged pull requests:**
|
12
34
|
|
13
|
-
- Fix hard-coded and duplicated table\_name [\#958](https://github.com/bensheldon/good_job/pull/958) ([gap777](https://github.com/gap777))
|
14
35
|
- Bump rubocop from 1.46.0 to 1.50.2 [\#949](https://github.com/bensheldon/good_job/pull/949) ([dependabot[bot]](https://github.com/apps/dependabot))
|
15
36
|
- Bump rubocop-rails from 2.18.0 to 2.19.1 [\#947](https://github.com/bensheldon/good_job/pull/947) ([dependabot[bot]](https://github.com/apps/dependabot))
|
16
37
|
|
data/README.md
CHANGED
@@ -472,7 +472,7 @@ config.good_job.enable_cron = ENV['DYNO'] == 'worker.1' # or `true` or via $GOOD
|
|
472
472
|
|
473
473
|
# Configure cron with a hash that has a unique key for each recurring job
|
474
474
|
config.good_job.cron = {
|
475
|
-
# Every 15 minutes, enqueue `ExampleJob.set(priority: -10).perform_later(42, name: "Alice")`
|
475
|
+
# Every 15 minutes, enqueue `ExampleJob.set(priority: -10).perform_later(42, "life", name: "Alice")`
|
476
476
|
frequent_task: { # each recurring job must have a unique key
|
477
477
|
cron: "*/15 * * * *", # cron-style scheduling format by fugit gem
|
478
478
|
class: "ExampleJob", # reference the Job class with a string
|
@@ -224,9 +224,8 @@ module GoodJob
|
|
224
224
|
queue_name: active_job.queue_name.presence || DEFAULT_QUEUE_NAME,
|
225
225
|
priority: active_job.priority || DEFAULT_PRIORITY,
|
226
226
|
serialized_params: active_job.serialize,
|
227
|
-
scheduled_at: active_job.scheduled_at,
|
228
227
|
}
|
229
|
-
|
228
|
+
execution_args[:scheduled_at] = Time.zone.at(active_job.scheduled_at) if active_job.scheduled_at
|
230
229
|
execution_args[:concurrency_key] = active_job.good_job_concurrency_key if active_job.respond_to?(:good_job_concurrency_key)
|
231
230
|
|
232
231
|
reenqueued_current_execution = CurrentThread.active_job_id && CurrentThread.active_job_id == active_job.job_id
|
data/lib/good_job/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: good_job
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.15.
|
4
|
+
version: 3.15.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Sheldon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activejob
|