Remove unnecessary clause
This commit is contained in:
parent
341e245c09
commit
49eed55735
1 changed files with 1 additions and 4 deletions
|
@ -761,11 +761,8 @@ maybepush_ledgercache(MaxCacheSize, Cache, Penciller) ->
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
|
||||||
maybe_withjitter(CacheSize, MaxCacheSize) ->
|
maybe_withjitter(CacheSize, MaxCacheSize) ->
|
||||||
|
|
||||||
if
|
if
|
||||||
CacheSize > 2 * MaxCacheSize ->
|
|
||||||
true;
|
|
||||||
CacheSize > MaxCacheSize ->
|
CacheSize > MaxCacheSize ->
|
||||||
T = 2 * MaxCacheSize - CacheSize,
|
T = 2 * MaxCacheSize - CacheSize,
|
||||||
R = random:uniform(CacheSize),
|
R = random:uniform(CacheSize),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue