Permalink
Browse files

merge upstream

  • Loading branch information...
2 parents 5020fe4 + 9881951 commit bd892e02acbf4b1e7fc797069f34345ebd39851b cliff moon committed Jul 16, 2009
Showing with 3 additions and 1 deletion.
  1. +1 −1 Makefile
  2. +2 −0 src/bot.erl
View
@@ -12,7 +12,7 @@ EC2_USER_DATA = `priv/user_data`
BASIC_OPTS = \
-pa $(LOAD_PATH) \
- +A 30 +K true +P 60000 \
+ +A 1024 +K true +P 60000 \
$(NULL)
OPTS = \
View
@@ -114,6 +114,8 @@ wait(State, N, M)
Delta = timer:now_diff(now(), State#state.start),
{Topic, Event, Data} = State#state.message,
io:format("publishing~n"),
+ %{ok, ProfPid} = eprof:start(),
+ %eprof:start_profiling(lists:delete(ProfPid, erlang:processes())),
bot:publish(Topic, Event, Data,
State#state.host, State#state.port),
wait(State#state{setup = Delta,start=now()}, N, M);

0 comments on commit bd892e0

Please sign in to comment.