Skip to content

Commit 0007b6a

Browse files
committed
bumped version
1 parent 164c030 commit 0007b6a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
LOCAL_BIN ?= ./bin
22

3-
version=v1.2.0-testing
3+
version=v1.2.0
44
container_name=LogWatcher
55
loglevel=info
66
config_path=config.yaml

pkg/router/router.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"github.com/sirupsen/logrus"
1717
)
1818

19-
const timeout = 10
19+
const timeout = 40 * time.Second
2020

2121
var logLineRegexp = regexp.MustCompile(`L \d{2}/\d{2}/\d{4} - \d{2}:\d{2}:\d{2}: .+`)
2222

@@ -39,7 +39,7 @@ func NewRouter(ctx context.Context, cfg *config.Config, log *logrus.Logger) (*Ro
3939
return nil, err
4040
}
4141

42-
client := &http.Client{Timeout: timeout * time.Second}
42+
client := &http.Client{Timeout: timeout}
4343
r := requests.NewClient(cfg.Server.APIKey, client, log)
4444

4545
addressTable := MakeAddressTable(cfg.Clients, log, mongoClient, r)

0 commit comments

Comments
 (0)