Mercurial > gemma
comparison pkg/imports/sec.go @ 3219:4acbee65275d
Import queue: Split locked dependencies in exclusively and multiple uses.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 09 May 2019 12:49:53 +0200 |
parents | c8ded555c2a8 |
children | bfde4f8dd323 |
comparison
equal
deleted
inserted
replaced
3218:c2b65a549c6f | 3219:4acbee65275d |
---|---|
44 | 44 |
45 func (secJobCreator) AutoAccept() bool { return false } | 45 func (secJobCreator) AutoAccept() bool { return false } |
46 | 46 |
47 func (secJobCreator) Create() Job { return new(Section) } | 47 func (secJobCreator) Create() Job { return new(Section) } |
48 | 48 |
49 func (secJobCreator) Depends() []string { | 49 func (secJobCreator) Depends() [2][]string { |
50 return []string{ | 50 return [2][]string{ |
51 "sections", | 51 {"sections"}, |
52 {}, | |
52 } | 53 } |
53 } | 54 } |
54 | 55 |
55 const ( | 56 const ( |
56 secDeleteSQL = ` | 57 secDeleteSQL = ` |