Update .env.dist

This commit is contained in:
Irfan 2020-09-13 13:00:59 +05:00
parent 7f804925c4
commit 629f313f1d

View File

@ -20,16 +20,12 @@ DB_PASSWORD=
MONGODB_DSN=
###
# Enable MyAnimeList Health checker
# Enable MyAnimeList Heartbeat
#
# If MyAnimeList is down or unavailable,
# Jikan will try to generate responses from internally
# populated cache where available
# Monitor bad requests to determine whether MyAnimeList is down
#
# Note: DB_CACHING must be enabled
###
SOURCE_BAD_HEALTH_FAILOVER=true
# Fallback once the following threshold is reached
###
SOURCE_BAD_HEALTH_THRESHOLD=10
# Recheck source availability (in seconds)
SOURCE_BAD_HEALTH_RECHECK=10
@ -62,11 +58,6 @@ CACHE_SEARCH_EXPIRE=432000 # 5 days
CACHE_PRODUCERS_EXPIRE=432000 # 5 days
CACHE_MAGAZINES_EXPIRE=432000 # 5 days
# You can even add your own by
# including the endpoint's name
# to specifiy a different TTL
# e.g CACHING_ANIME_EXPIRE=100
# CACHING_MANGA_EXPIRE=80
###
# Redis Caching Configuration
@ -100,16 +91,6 @@ THROTTLE_DECAY_MINUTES=1
THROTTLE_MAX_REQUESTS_PER_DECAY_MINUTES=60
THROTTLE_MAX_REQUESTS_PER_SECOND=2
###
# Configure whether this is a slave instance
# This will help prevent throttling of the
# master server
###
SLAVE_INSTANCE=false
SLAVE_KEY=
SLAVE_CLIENT_IP_HEADER="X-Real-IP"
SLAVE_KEY_HEADER="X-Master"
###
# GitHub generate report URL on fatal errors
###