Skip to content

Commit

Permalink
Merge pull request #304 from interTwin-eu/fix_socket
Browse files Browse the repository at this point in the history
Remove timeout from socket interlink server
  • Loading branch information
dciangot authored Oct 18, 2024
2 parents dc9f75b + 6432267 commit 79fb6c5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/interlink/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,7 @@ func main() {
os.Exit(1)
}()
server := http.Server{
Handler: mutex,
ReadTimeout: 30 * time.Second,
ReadHeaderTimeout: 10 * time.Second,
Handler: mutex,
}

log.G(ctx).Info(socket)
Expand Down

0 comments on commit 79fb6c5

Please sign in to comment.