Skip to content

Commit

Permalink
fix: int overflow for win in sse retryNoReconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Sep 8, 2023
1 parent 05ffb5e commit 2dbeb6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sse/encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
const sseEncoderID = "sse"

// Tell the client to reconnect in a year in case we don't really want it to re-connect
const retryNoReconnect = 31536000000
const retryNoReconnect = int64(31536000000)

const lastIdDelimeter = "/"

Expand Down

0 comments on commit 2dbeb6b

Please sign in to comment.