gitlab-exporter 11.0.0 → 11.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/gitlab_exporter/sidekiq.rb +1 -6
- data/lib/gitlab_exporter/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: 4a277e09b79fa17edf12f018a94a78c66cce4cc13cb4507ec6e8c82266ff4e0f
|
4
|
+
data.tar.gz: de009b471d90a44f3721e3acad8c6f25cfc3e82d3f0ad72a76e8e7b0bf9e6e45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88bfdd110c7360730d076f24b96681d5b705ab926fa3925b79850bb499cc3247e3566fc132cdb5ae6877d7e533569515dcd00bd7e7b5d7e8c98c0fc77de8104d
|
7
|
+
data.tar.gz: 2658a7a6f6f735782868b43a9c1b68d3f63fd1d5ace3f8d1553bc471c50bf340f03000daded30012fb86f901f1b94cb029788e45ccbaf22f0e831d1be91fb8de
|
data/Gemfile.lock
CHANGED
@@ -189,14 +189,9 @@ module GitLab
|
|
189
189
|
def connected?
|
190
190
|
return @connected unless @connected.nil?
|
191
191
|
|
192
|
-
# This is also a good "connected check"
|
193
192
|
Sidekiq.redis do |conn|
|
194
|
-
|
195
|
-
# will be removed in redis-namespace 2.0.
|
196
|
-
conn.redis.script(:load, QUEUE_JOB_STATS_SCRIPT) unless conn.redis.script(:exists, QUEUE_JOB_STATS_SHA)
|
193
|
+
@connected = (conn.ping == "PONG")
|
197
194
|
end
|
198
|
-
|
199
|
-
@connected = true
|
200
195
|
rescue Redis::BaseConnectionError => e
|
201
196
|
@logger&.error "Error connecting to the Redis: #{e}"
|
202
197
|
@connected = false
|