Skip to content

Commit 43e499c

Browse files
committed
Shorten comment about HTCondor in CLUSTER_SLOTS_STATEMENT.sh
1 parent 5b5cf0e commit 43e499c

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

pulsar/managers/util/job_script/CLUSTER_SLOTS_STATEMENT.sh

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,10 @@ elif [ -n "$GALAXY_SLOTS" ]; then
2727
# kubernetes runner injects GALAXY_SLOTS into environment
2828
GALAXY_SLOTS=$GALAXY_SLOTS
2929
elif [ -n "$PYTHON_CPU_COUNT" ]; then
30-
# HTCondor sets a couple of environment variables read by various
31-
# frameworks to control the number of threads they are allowed to use. A
32-
# list can be found in the HTCondor docs (the list itself is configurable,
33-
# as it is an HTCondor configuration macro).
34-
#
35-
# https://htcondor.readthedocs.io/en/24.0/admin-manual/
36-
# configuration-macros.html#STARTER_NUM_THREADS_ENV_VARS
37-
#
38-
# Any of these variables can be used to set GALAXY_SLOTS. Set it using the
39-
# variable PYTHON_CPU_COUNT (controls the amount of CPUs that Python sees).
30+
# HTCondor sets several environment variables, including PYTHON_CPU_COUNT,
31+
# to control how many threads jobs may spawn. A list is available in the
32+
# HTCondor documentation https://htcondor.readthedocs.io/en/24.0
33+
# /admin-manual/configuration-macros.html#STARTER_NUM_THREADS_ENV_VARS.
4034
GALAXY_SLOTS="$PYTHON_CPU_COUNT"
4135
else
4236
GALAXY_SLOTS="1"

0 commit comments

Comments
 (0)