Skip to content

Commit

Permalink
extended timeout to 1000 ms for a message
Browse files Browse the repository at this point in the history
  • Loading branch information
joekiller committed Mar 17, 2014
1 parent 1784516 commit a239525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raw_socket_listener/tcp_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"time"
)

const MSG_EXPIRE = 200 * time.Millisecond
const MSG_EXPIRE = 1000 * time.Millisecond

// TCPMessage ensure that all TCP packets for given request is received, and processed in right sequence
// Its needed because all TCP message can be fragmented or re-transmitted
Expand Down

0 comments on commit a239525

Please sign in to comment.