Investigate jitter coordination
This commit is contained in:
parent
c40e5d2d30
commit
ac45f95559
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ init([Opts]) ->
|
|||
{InkerOpts, PencillerOpts} = set_options(Opts),
|
||||
{Inker, Penciller} = startup(InkerOpts, PencillerOpts),
|
||||
CacheSize = get_opt(cache_size, Opts, ?CACHE_SIZE)
|
||||
+ random:uniform(?CACHE_SIZE_JITTER),
|
||||
+ erlang:phash2(self()) band ?CACHE_SIZE_JITTER,
|
||||
leveled_log:log("B0001", [Inker, Penciller]),
|
||||
{ok, #state{inker=Inker,
|
||||
penciller=Penciller,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue