diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2019-09-07 09:47:51 +0900 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-21 00:22:54 -0600 |
commit | b9ed21b8f443d12ac3f8a62e536983e9cbf31d78 (patch) | |
tree | 1abcf19f4457d8ad300d2c770f904ea4811a2c77 /config/initializers | |
parent | 45e843d487cc3f8e0f352485caaa7a2abfae9832 (diff) |
port tootsuite#11770 to monsterfork: Add healthcheck endpoint for web
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/health_check.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/initializers/health_check.rb b/config/initializers/health_check.rb new file mode 100644 index 000000000..eece67b10 --- /dev/null +++ b/config/initializers/health_check.rb @@ -0,0 +1,6 @@ +HealthCheck.setup do |config| + config.uri = 'health' + + config.standard_checks = %w(database migrations cache) + config.full_checks = %w(database migrations cache) +end |