MCPcopy Create free account
hub / github.com/ElementsProject/lightning / executor

Function executor

tests/benchmark.py:41–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39
40@pytest.fixture
41def executor():
42 ex = futures.ThreadPoolExecutor(max_workers=num_workers)
43 yield ex
44 ex.shutdown(wait=False)
45
46
47def test_single_hop(node_factory, executor):

Callers

nothing calls this directly

Calls 1

shutdownMethod · 0.45

Tested by

no test coverage detected