benoitc / couchbeam

Apache CouchDB client in Erlang
Other
242 stars 113 forks source link

Fix to the gen_changes behaviour #48

Closed schemeway closed 13 years ago

schemeway commented 13 years ago

Each time a newline is sent on the changes stream by CouchDB (due to the hearbeat), the last change is sent to the handle_change callback function. This commit fixes this behaviour.

Regards, Dominique

benoitc commented 13 years ago

applied on 3cfaa69b7bfde20fe82ba3cab66ac74402a760d5 thanks!