Skip to content

Commit b9ce31c

Browse files
committed
Check property to prevent cluster interaction on startup
1 parent 333e701 commit b9ce31c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cluster/src/org/labkey/cluster/pipeline/AbstractClusterExecutionEngine.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,11 @@ public synchronized void updateStatusForAll() throws PipelineJobException
326326

327327
public synchronized void updateStatusForAll(Collection<String> extraJobIds) throws PipelineJobException
328328
{
329+
if (ClusterManager.get().isPreventClusterInteraction())
330+
{
331+
return;
332+
}
333+
329334
Collection<ClusterJob> jobs = getJobsToCheck(true, extraJobIds);
330335
if (jobs.isEmpty())
331336
{

0 commit comments

Comments
 (0)