diff options
author | Simon Glass <sjg@chromium.org> | 2025-04-29 07:22:25 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2025-05-27 10:07:41 +0100 |
commit | 52aef33f953b5864dc015448783ecd2d9415e52f (patch) | |
tree | fe7addbea78bcf3e6f74c406e08d4548b7938062 /tools/patman/control.py | |
parent | 45f4f6219182927c34d2dc0359f4bf044d3ed432 (diff) |
patman: Provide an option to run in single-threaded mode
Patman normally sends multiple concurrent requests to the patchwork
server, as this is faster. Provide an option to disable this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/control.py')
-rw-r--r-- | tools/patman/control.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/patman/control.py b/tools/patman/control.py index cb8552ed550..cfea35ea648 100644 --- a/tools/patman/control.py +++ b/tools/patman/control.py @@ -44,7 +44,7 @@ def do_send(args): def patchwork_status(branch, count, start, end, dest_branch, force, - show_comments, url): + show_comments, url, single_thread=False): """Check the status of patches in patchwork This finds the series in patchwork using the Series-link tag, checks for new @@ -96,7 +96,7 @@ def patchwork_status(branch, count, start, end, dest_branch, force, # Allow the series to override the URL if 'patchwork_url' in series: url = series.patchwork_url - pwork = patchwork.Patchwork(url) + pwork = patchwork.Patchwork(url, single_thread=single_thread) # Import this here to avoid failing on other commands if the dependencies # are not present |