mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-13 10:52:28 -04:00
Added Go pprof handlers
Signed-off-by: Fred Heinecke <fred.heinecke@yahoo.com>
This commit is contained in:
@@ -20,6 +20,12 @@ GOCODER_VAAPI_RENDERER="/dev/dri/renderD128"
|
||||
# the qsv device path (only used with GOCODER_HWACCEL=qsv)
|
||||
GOCODER_QSV_RENDERER="/dev/dri/renderD128"
|
||||
|
||||
# Performance tuning
|
||||
# Set to true to enable pprof endpoints for profiling (/debug/pprof/). It is not recommended to expose
|
||||
# this to users or the Internet, as this could be used to leak information via a side-channel attack.
|
||||
# It is recommended to use a reverse proxy to restrict access to this endpoint, if enabled.
|
||||
ENABLE_PPROF_ENDPOINT="false"
|
||||
|
||||
# Database things
|
||||
# Setting this ignores the below connection variables and overrides any default values
|
||||
# POSTGRES_URL=postgres://user:password@host:port/dbname?sslmode=disable
|
||||
|
||||
Reference in New Issue
Block a user