Skip to content

Commit 654450e

Browse files
committed
Reduce concurrency
1 parent 08c52ca commit 654450e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/dashboard/swag-proxies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def is_available(url):
7171
fast = (len(sys.argv) > 1)
7272
apps, auths = find_apps(fast)
7373
discovered_apps = collections.defaultdict(dict)
74-
with concurrent.futures.ThreadPoolExecutor(max_workers=100) as executor:
74+
with concurrent.futures.ThreadPoolExecutor(max_workers=50) as executor:
7575
futures = {executor.submit(is_available, app): app for app in apps.keys()}
7676
for future in concurrent.futures.as_completed(futures):
7777
app = futures[future]

0 commit comments

Comments
 (0)