Add max_count to state record
Project: http://git-wip-us.apache.org/repos/asf/couchdb-rexi/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-rexi/commit/9a1bbd09 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-rexi/tree/9a1bbd09 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-rexi/diff/9a1bbd09 Branch: refs/heads/windsor-merge Commit: 9a1bbd09334dc869d45eed9331cb61432f116ca5 Parents: 4551014 Author: Robert Newson <[email protected]> Authored: Tue Jun 10 14:01:07 2014 +0100 Committer: Robert Newson <[email protected]> Committed: Wed Jul 23 18:08:25 2014 +0100 ---------------------------------------------------------------------- src/rexi_buffer.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-rexi/blob/9a1bbd09/src/rexi_buffer.erl ---------------------------------------------------------------------- diff --git a/src/rexi_buffer.erl b/src/rexi_buffer.erl index 26f3c97..42b4ef2 100644 --- a/src/rexi_buffer.erl +++ b/src/rexi_buffer.erl @@ -26,7 +26,8 @@ -record(state, { buffer = queue:new(), sender = nil, - count = 0 + count = 0, + max_count }). start_link(ServerId) ->
