Skip to content

Commit c3bd25c

Browse files
asm582openshift-merge-robot
authored andcommitted
run thread often
1 parent 1e130e5 commit c3bd25c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pkg/controller/queuejob/queuejob_controller_ex.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1436,7 +1436,7 @@ func (cc *XController) Run(stopCh <-chan struct{}) {
14361436
go wait.Until(cc.PreemptQueueJobs, 60*time.Second, stopCh)
14371437

14381438
// This thread is used to update AW that has completionstatus set to Complete or RunningHoldCompletion
1439-
go wait.Until(cc.UpdateQueueJobs, 10*time.Second, stopCh)
1439+
go wait.Until(cc.UpdateQueueJobs, 5*time.Second, stopCh)
14401440

14411441
if cc.isDispatcher {
14421442
go wait.Until(cc.UpdateAgent, 2*time.Second, stopCh) // In the Agent?

0 commit comments

Comments
 (0)