mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Automatic style fix
This commit is contained in:
parent
d8318fc428
commit
f276be829b
@ -22,7 +22,9 @@ STATE_MAP = {
|
|||||||
def run_with_timeout(func, args, timeout):
|
def run_with_timeout(func, args, timeout):
|
||||||
for _ in range(5):
|
for _ in range(5):
|
||||||
state = multiprocessing.Value("i", -1)
|
state = multiprocessing.Value("i", -1)
|
||||||
process = multiprocessing.Process(target=func, args=args, kwargs={"state": state})
|
process = multiprocessing.Process(
|
||||||
|
target=func, args=args, kwargs={"state": state}
|
||||||
|
)
|
||||||
process.start()
|
process.start()
|
||||||
process.join(timeout)
|
process.join(timeout)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user