Skip to content

Commit

Permalink
Limititing data rate sent
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulSnow committed Feb 9, 2017
1 parent fd689d5 commit 4c8ee09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/messages/dbstateMissing.go
Expand Up @@ -142,7 +142,7 @@ func (m *DBStateMissing) FollowerExecute(state interfaces.IState) {
end = start + 200
}
sent := 0
for dbs := start; dbs <= end && sent < 10240; dbs++ {
for dbs := start; dbs <= end && sent < 1024*1024; dbs++ {
sent += m.send(dbs, state)
}

Expand Down

0 comments on commit 4c8ee09

Please sign in to comment.