[ARVADOS] updated: 58ed4ee31a1e2c18e991065ab4f7c4bd2371e563

Git user git at public.curoverse.com
Mon Feb 27 11:54:56 EST 2017


Summary of changes:
 services/crunch-dispatch-slurm/squeue.go | 1 +
 1 file changed, 1 insertion(+)

       via  58ed4ee31a1e2c18e991065ab4f7c4bd2371e563 (commit)
      from  9889021db676c152d5b62f399bd27024b5a51ae1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 58ed4ee31a1e2c18e991065ab4f7c4bd2371e563
Author: Tom Clegg <tom at curoverse.com>
Date:   Mon Feb 27 11:54:40 2017 -0500

    10979: Add missing SqueueChecker initialization.
    
    refs #10979

diff --git a/services/crunch-dispatch-slurm/squeue.go b/services/crunch-dispatch-slurm/squeue.go
index 85fadbd..ee87a44 100644
--- a/services/crunch-dispatch-slurm/squeue.go
+++ b/services/crunch-dispatch-slurm/squeue.go
@@ -96,6 +96,7 @@ func (sqc *SqueueChecker) start() {
 // All waits for the next squeue invocation, and returns all job
 // names reported by squeue.
 func (sqc *SqueueChecker) All() []string {
+	sqc.startOnce.Do(sqc.start)
 	sqc.L.Lock()
 	defer sqc.L.Unlock()
 	sqc.Wait()

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list