komachi_heartbeat 2.1.9 → 2.2.0
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 +2 -2
- data/app/controllers/komachi_heartbeat/heartbeat_controller.rb +1 -1
- data/lib/komachi_heartbeat/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d1609f6011bd2ba4e3408665bfee66323ca0fc05
|
|
4
|
+
data.tar.gz: 47363d0d94b506c9eeecd2468cef142eaee8f48f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa8d12a45cbb5052afdacd1b9b234cf4ca59a77beb673a465e2d4505f5bcf33246c7d5df92ba9981ab0bee27efb0ff11e0cc26ca7be142f90197c90ab0cdeaf5
|
|
7
|
+
data.tar.gz: efeff23fb14777187f1abf78f4aa7dedc1c88b91fb166b8d867594c7351d505bc72c936c461a11273fef908118df8e4f41144e6de448e26a085bbb20bfd67135
|
data/README.md
CHANGED
|
@@ -58,13 +58,13 @@ Rails アプリケーションとDBサーバーの死活監視するためのURL
|
|
|
58
58
|
- Redisをチェックするかどうか
|
|
59
59
|
- default: false
|
|
60
60
|
- `redis_servers`
|
|
61
|
-
- Redis
|
|
61
|
+
- Redisサーバーへの接続情報のハッシュの配列
|
|
62
62
|
- default: [{host: "localhost", port: 6379, db: 0}]
|
|
63
63
|
- `memcached_check_enabled`
|
|
64
64
|
- Memcachedをチェックするかどうか
|
|
65
65
|
- default: false
|
|
66
66
|
- `memcached_server_names`
|
|
67
|
-
- Memcached
|
|
67
|
+
- Memcachedのサーバー名、接続ポート(省略時はデフォルトポート)をつなげた文字列の配列 e.g. ['one.example.com:11211', 'two.example.com:11211']
|
|
68
68
|
- default: ['localhost']
|
|
69
69
|
- `worker_stats_enabled`
|
|
70
70
|
- WorkerのQueueの数をチェックするかどうか
|
|
@@ -32,7 +32,7 @@ module KomachiHeartbeat
|
|
|
32
32
|
|
|
33
33
|
def db_connection_check
|
|
34
34
|
connection_database_class_names.each do |klass|
|
|
35
|
-
klass.constantize.connection.execute "SELECT * FROM
|
|
35
|
+
klass.constantize.connection.execute "SELECT * FROM schema_migrations LIMIT 1"
|
|
36
36
|
end
|
|
37
37
|
end
|
|
38
38
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: komachi_heartbeat
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Takumi MIURA
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-10-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|