Skip to content

Commit

Permalink
Change default feed to longpool
Browse files Browse the repository at this point in the history
  • Loading branch information
kleeen authored Feb 16, 2017
1 parent 6efc883 commit f742729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/couchbeam_changes_stream.erl
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ init_stream(Parent, Owner, StreamRef, Db, Options) ->
%% feed type
{FeedType, FinalOptions} = case proplists:get_value(feed, Options1) of
undefined ->
{continuous, [{feed, continuous} | Options1]};
{longpoll, [{feed, longpoll} | Options1]};
Type ->
{Type, Options1}
end,

0 comments on commit f742729

Please sign in to comment.