mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
pyln: Adjust maximum load allowed by the throttler
This commit is contained in:
committed by
Rusty Russell
parent
542f3225e3
commit
cd9aa267b4
@@ -1120,7 +1120,7 @@ class Throttler(object):
|
|||||||
tests, which could cause more timeouts.
|
tests, which could cause more timeouts.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
def __init__(self, directory: str, target: float = 75):
|
def __init__(self, directory: str, target: float = 90):
|
||||||
"""If specified we try to stick to a load of target (in percent).
|
"""If specified we try to stick to a load of target (in percent).
|
||||||
"""
|
"""
|
||||||
self.target = target
|
self.target = target
|
||||||
|
|||||||
Reference in New Issue
Block a user