Skip to content

Commit

Permalink
fix: Add missing duration unit
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbraemer committed Jul 21, 2024
1 parent 3ebcb74 commit b8a2e67
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/edition/java/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"go.minekube.com/gate/pkg/util/configutil"
"go.minekube.com/gate/pkg/util/favicon"
"go.minekube.com/gate/pkg/util/validation"
"time"
)

// DefaultConfig is a default Config.
Expand Down Expand Up @@ -37,8 +38,8 @@ var DefaultConfig = Config{
Try: []string{},
ForcedHosts: map[string][]string{},
FailoverOnUnexpectedServerDisconnect: true,
ConnectionTimeout: 5000,
ReadTimeout: 30000,
ConnectionTimeout: configutil.Duration(5000 * time.Millisecond),
ReadTimeout: configutil.Duration(30000 * time.Millisecond),
Quota: Quota{
Connections: QuotaSettings{
Enabled: true,
Expand Down

0 comments on commit b8a2e67

Please sign in to comment.