Skip to content
Snippets Groups Projects
Commit aab3d6e7 authored by ale's avatar ale
Browse files

Control concurrency of on-local-blogs via environment variable

parent 8462ac2f
No related branches found
No related tags found
No related merge requests found
Pipeline #43753 passed
#!/bin/bash
#!/bin/sh
#
# Run a 'noblogs' command on all blogs.
#
......
#!/bin/bash
#!/bin/sh
#
# Run a 'noblogs' command on just those blogs that are hosted
# on this server.
......@@ -16,5 +16,4 @@ dir=${dir:-.}
abs_dir=$(cd ${dir} && pwd)
${dir}/noblogs print-local-blogs | grep -v Warning \
| xargs -n 30 ${abs_dir}/noblogs "$@"
| xargs -n ${CONCURRENCY:-30} ${abs_dir}/noblogs "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment