mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
Disable RailsPulse in Self-hosted Environments
This commit is contained in:
parent
f74828cc6b
commit
f4aba0991c
2 changed files with 3 additions and 2 deletions
|
|
@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||
## Fixed
|
||||
|
||||
- Routes are now being drawn the very same way on Map V2 as in Map V1. #2132 #2086
|
||||
- RailsPulse performance monitoring is now disabled for self-hosted instances. It fixes poor performance on Synology. #2139
|
||||
|
||||
## Changed
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ RailsPulse.configure do |config|
|
|||
# GLOBAL CONFIGURATION
|
||||
# ====================================================================================================
|
||||
|
||||
# Enable or disable Rails Pulse
|
||||
config.enabled = true
|
||||
# Disable Rails Pulse in Self-hosted Environments
|
||||
config.enabled = !SELF_HOSTED
|
||||
|
||||
# ====================================================================================================
|
||||
# THRESHOLDS
|
||||
|
|
|
|||
Loading…
Reference in a new issue