Skip to content

Commit

Permalink
refactor: modify default interval
Browse files Browse the repository at this point in the history
  • Loading branch information
cokemine committed Sep 30, 2021
1 parent 6cb452b commit 5c75e90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ chmod +x status-client
-h string
Input the host of the server
-interval float
Input the INTERVAL (default 1.5)
Input the INTERVAL (default 2.0)
-p string
Input the client's password
-port int
Expand Down
2 changes: 1 addition & 1 deletion cmd/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var (
PORT = flag.Int("port", 35601, "Input the port of the server")
USER = flag.String("u", "", "Input the client's username")
PASSWORD = flag.String("p", "", "Input the client's password")
INTERVAL = flag.Float64("interval", 1.5, "Input the INTERVAL")
INTERVAL = flag.Float64("interval", 2.0, "Input the INTERVAL")
DSN = flag.String("dsn", "", "Input DSN, format: username:password@host:port")
isVnstat = flag.Bool("vnstat", false, "Use vnstat for traffic statistics, linux only")
)
Expand Down

0 comments on commit 5c75e90

Please sign in to comment.