Update configuration docs (#661)

* Update configuration docs

* Fix public addr example
This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-10-13 12:21:09 -07:00
1 parent 6b1ee96245
commit ef16b6177c
14 files changed
+107 -91

No files matched your search

+2 -1
View File
@@ -312,7 +312,8 @@ func (b *Server) SetupListeners(ui cli.Ui, config *configutil.SharedConfig, allo
if lnConfig.MaxRequestSize == 0 {
lnConfig.MaxRequestSize = globals.DefaultMaxRequestSize
}
props["max_request_size"] = fmt.Sprintf("%d", lnConfig.MaxRequestSize)
// TODO: We don't actually limit this yet.
//props["max_request_size"] = fmt.Sprintf("%d", lnConfig.MaxRequestSize)
if lnConfig.MaxRequestDuration == 0 {
lnConfig.MaxRequestDuration = globals.DefaultMaxRequestDuration