priority, high
This commit is contained in:
parent
b501ddf43c
commit
470d5644ef
|
@ -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()}}.
|
||||
|
|
Loading…
Reference in New Issue