Merge branch 'main' of ssh://git.homelabbrisbane.com.au:2222/jdownie/shed

This commit is contained in:
James Downie 2025-09-20 18:53:56 +10:00
commit d98ea0ede4
2 changed files with 6 additions and 2 deletions

View File

@ -2,5 +2,9 @@
NS="$1"
DEPL="$2"
kubectl logs -n "$NS" "deployment/$DEPL"
if [ "$3" = "-f" ]; then
kubectl logs -n "$NS" -f "deployment/$DEPL"
else
kubectl logs -n "$NS" "deployment/$DEPL"
fi

View File

@ -266,7 +266,7 @@ if __name__ == "__main__":
print(f" {tl} {k.ljust(ml + 1)} {flags}")
# print(json.dumps(dat, indent = 2))
elif sys.argv[1] in list( [ "sync", "lc", "lcs", "pull", "push", "fetch" ] ):
thread_count = 10
thread_count = 30
with concurrent.futures.ThreadPoolExecutor(max_workers=thread_count) as executor:
futures = {executor.submit(perform_action, sys.argv[1], k, cfg[k]) for k in r}
for future in concurrent.futures.as_completed(futures):