|
|
@@ -5,6 +5,7 @@ import (
|
|
5
|
5
|
"fmt"
|
|
6
|
6
|
"net"
|
|
7
|
7
|
"os"
|
|
|
8
|
+ "time"
|
|
8
|
9
|
|
|
9
|
10
|
"github.com/9seconds/mtg/v2/antireplay"
|
|
10
|
11
|
"github.com/9seconds/mtg/v2/events"
|
|
|
@@ -262,7 +263,7 @@ func runProxy(conf *config.Config, version string) error { //nolint: funlen
|
|
262
|
263
|
|
|
263
|
264
|
AllowFallbackOnUnknownDC: conf.AllowFallbackOnUnknownDC.Get(false),
|
|
264
|
265
|
TolerateTimeSkewness: conf.TolerateTimeSkewness.Value,
|
|
265
|
|
- IdleTimeout: conf.Network.Timeout.Idle.Get(mtglib.DefaultIdleTimeout),
|
|
|
266
|
+ IdleTimeout: conf.Network.Timeout.Idle.Get(time.Minute),
|
|
266
|
267
|
|
|
267
|
268
|
DoppelGangerURLs: doppelGangerURLs,
|
|
268
|
269
|
DoppelGangerPerRaid: conf.Defense.Doppelganger.Repeats.Get(mtglib.DoppelGangerPerRaid),
|