priority, high

This commit is contained in:
Feng Lee 2015-09-29 17:31:10 +08:00
parent b501ddf43c
commit 470d5644ef
1 changed files with 1 additions and 0 deletions

View File

@ -231,6 +231,7 @@ match(Topic) when is_binary(Topic) ->
%%%=============================================================================
init([Id, _Opts]) ->
process_flag(priority, high),
%%process_flag(min_heap_size, 1024*1024),
gproc_pool:connect_worker(pubsub, {?MODULE, Id}),
{ok, #state{id = Id, submap = maps:new()}}.