Skip to content

Commit

Permalink
Merge pull request #1 from timClicks/patch-1
Browse files Browse the repository at this point in the history
Code matches comments
  • Loading branch information
rambocoder committed Aug 8, 2012
2 parents e2ae6d1 + 75fac41 commit 5418153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/example_chat_home_controller.erl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ index('GET', []) ->
pull('GET', [LastTimestamp]) ->
process_flag(trap_exit, true),
% time out a pull after 15 seconds
{ok, Timestamp, Objects} = boss_mq:pull("updates", list_to_integer(LastTimestamp), 30),
{ok, Timestamp, Objects} = boss_mq:pull("updates", list_to_integer(LastTimestamp), 15),
receive
{'EXIT', From, Reason} ->
error_logger:format("~p EXIT with ~p~n", [From, Reason])
Expand Down

0 comments on commit 5418153

Please sign in to comment.