Skip to content

Commit

Permalink
reckless: update timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
endothermicdev committed Jan 31, 2024
1 parent 31b065c commit 602e306
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/reckless
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ class Source(Enum):
# returns 0 if git repository
proc = run(['git', '-C', source, 'rev-parse'],
cwd=os.path.realpath(source), stdout=PIPE,
stderr=PIPE, text=True, timeout=3)
stderr=PIPE, text=True, timeout=5)
if proc.returncode == 0:
return cls(2)
return cls(1)
Expand Down Expand Up @@ -935,7 +935,7 @@ def _install_plugin(src: InstInfo) -> Union[InstInfo, None]:
try:
test = run([Path(staged_src.source_loc).joinpath(staged_src.entry)],
cwd=str(staging_path), stdout=PIPE, stderr=PIPE,
text=True, timeout=3)
text=True, timeout=10)
for line in test.stderr.splitlines():
test_log.append(line)
returncode = test.returncode
Expand Down Expand Up @@ -1136,7 +1136,7 @@ def load_config(reckless_dir: Union[str, None] = None,
net_conf = None
# Does the lightning-cli already reference an explicit config?
try:
active_config = lightning_cli('listconfigs', timeout=3)['configs']
active_config = lightning_cli('listconfigs', timeout=10)['configs']
if 'conf' in active_config:
net_conf = LightningBitcoinConfig(path=active_config['conf']
['value_str'])
Expand Down

0 comments on commit 602e306

Please sign in to comment.