Skip to content

Commit

Permalink
Merge pull request #98 from bencourliss/master
Browse files Browse the repository at this point in the history
Issue 2985 - Updated to use 32 bit max int
  • Loading branch information
linggao authored Jan 25, 2022
2 parents 79106d2 + 2a1d3c4 commit 3c8bfb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/communications/httpCommunication.go
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@ func (communication *HTTP) Poll() bool {
switch message.Type {
case common.Update:
// For httpCommunication, we don't need maxInFlightChunks to control data chunk, so give it a large number
httpMaxInFlightChunks := math.MaxInt64
httpMaxInFlightChunks := math.MaxInt32
if err = handleUpdate(message.MetaData, httpMaxInFlightChunks); err != nil {
if isIgnoredByHandler(err) {
if log.IsLogging(logger.DEBUG) {
Expand Down

0 comments on commit 3c8bfb9

Please sign in to comment.