sidekiq_publisher 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/sidekiq_publisher/job.rb +1 -1
- data/lib/sidekiq_publisher/publisher.rb +1 -1
- data/lib/sidekiq_publisher/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: 0e319946d2c731b6fc7e1428282f075ab3c7bea45018409696e21b3053d5522a
|
4
|
+
data.tar.gz: ad7c47597341e93c1a5e8b4287d2db1ed85efa1867b93b4c9c504e89487557f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99fac255189d01685a9b9800ff914f8e19033f9e3f915c4af2cc2af7dfd1ad299082c23f072a848a24cde2f978f560e5607d5d1df67f6c332f8aae07ceac4675
|
7
|
+
data.tar.gz: e7d411a804ebd017e9dfe6b5cab4f1093aa13695a27b7feb89a2c28eac427d8dfdab32752f8f7dc254342ae6d66f39ef424f18bedc7a584b574af5a39cbc50f3
|
data/CHANGELOG.md
CHANGED
@@ -34,7 +34,7 @@ module SidekiqPublisher
|
|
34
34
|
SidekiqPublisher.logger.info("#{name} purging expired published jobs.")
|
35
35
|
count = purgeable.delete_all
|
36
36
|
SidekiqPublisher.logger.info("#{name} purged #{count} expired published jobs.")
|
37
|
-
SidekiqPublisher.metrics_reporter.try(:count, "sidekiq_publisher
|
37
|
+
SidekiqPublisher.metrics_reporter.try(:count, "sidekiq_publisher.purged", count)
|
38
38
|
end
|
39
39
|
|
40
40
|
def self.unpublished_batches(batch_size: SidekiqPublisher.batch_size)
|
@@ -44,7 +44,7 @@ module SidekiqPublisher
|
|
44
44
|
failure_warning(__method__, ex)
|
45
45
|
ensure
|
46
46
|
published_count = update_jobs_as_published!(batch) if pushed_count.present? && published_count.nil?
|
47
|
-
metrics_reporter.try(:count, "sidekiq_publisher
|
47
|
+
metrics_reporter.try(:count, "sidekiq_publisher.published", published_count)
|
48
48
|
end
|
49
49
|
|
50
50
|
def lookup_job_class(name)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq_publisher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ezCater, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activejob
|