summaryrefslogtreecommitdiff
path: root/internal/config/config.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-10-09 21:10:29 +0300
committerPaul Buetow <paul@buetow.org>2021-10-10 13:36:41 +0300
commit97747ea0f3178f7f5890512d483fdccaa82846b0 (patch)
tree9ff1335ca26afc90e55fd6de416457e252d75a35 /internal/config/config.go
parent7a7169791a64190e1002e38bc9c04ad0d5c1ce1f (diff)
vetting and linting and some code restyling
Diffstat (limited to 'internal/config/config.go')
-rw-r--r--internal/config/config.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index 077a658..b99b22b 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -9,11 +9,11 @@ const (
ScheduleUser string = "DTAIL-SCHEDULE"
// ContinuousUser is used for non-interactive continuous mapreduce queries.
ContinuousUser string = "DTAIL-CONTINUOUS"
- // InterruptTimeoutS is used to terminate DTail when Ctrl+C was pressed twice within a given interval.
+ // InterruptTimeoutS specifies the Ctrl+C log pause interval.
InterruptTimeoutS int = 3
- // ConnectionsPerCPU controls how many connections are established concurrently as a start (slow start)
+ // DefaultConnectionsPerCPU controls how many connections are established concurrently.
DefaultConnectionsPerCPU int = 10
- // DTailSSHServerDefaultPort is the default DServer port.
+ // DefaultSSHPort is the default DServer port.
DefaultSSHPort int = 2222
// DefaultLogLevel specifies the default log level (obviously)
DefaultLogLevel string = "INFO"