avoid JVM timeout bug with lower default

This commit is contained in:
Jonathan Shook 2022-12-15 19:50:51 -06:00
parent f0507cafb2
commit e29bfddc18

View File

@ -120,7 +120,7 @@ public class HttpSpace implements NBNamedElement {
.setDescription("Print extended diagnostics. This option has numerous" +
" possible values. See the markdown docs for details. (nb help http)")
)
.add(Param.defaultTo("timeout", Long.MAX_VALUE)
.add(Param.defaultTo("timeout", 1000L*60L*15L) // 15 minutes
.setDescription("How long to wait for requests before timeout out. Default is forever."))
.add(Param.defaultTo("hdr_digits", 4)
.setDescription("number of digits of precision to keep in HDR histograms"))