Skip to content

Commit

Permalink
Increase read timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
kirugan committed Sep 17, 2024
1 parent 8fbd23c commit da71835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/starknet/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

const (
unmarshalMaxSize = 15 * utils.Megabyte
readTimeout = 5 * time.Second
readTimeout = 10 * time.Second
)

type NewStreamFunc func(ctx context.Context, pids ...protocol.ID) (network.Stream, error)
Expand Down

0 comments on commit da71835

Please sign in to comment.