3
0

Profiler options defaults updated

This commit is contained in:
Peter Grlica
2022-03-21 15:03:17 +01:00
parent 9a7f6f90d0
commit cf0568cead
2 changed files with 14 additions and 0 deletions
+12
View File
@@ -369,6 +369,18 @@
# Default: <no value>
# APIGW_LOG_ENABLED=<no value>
###############################################################################
# Enable profiler
# Type: bool
# Default: <no value>
# APIGW_PROFILER_ENABLED=<no value>
###############################################################################
# Profiler enabled for all routes
# Type: bool
# Default: <no value>
# APIGW_PROFILER_GLOBAL=<no value>
###############################################################################
# Enable incoming request body output in logs
# Type: bool
+2
View File
@@ -480,6 +480,8 @@ func ActionLog() (o *ActionLogOpt) {
func Apigw() (o *ApigwOpt) {
o = &ApigwOpt{
Enabled: true,
ProfilerEnabled: true,
ProfilerGlobal: false,
ProxyFollowRedirects: true,
ProxyOutboundTimeout: time.Second * 30,
}