Mercurial > gemma
diff 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 |
line wrap: on
line diff
--- a/pkg/imports/sec.go Thu May 09 12:25:10 2019 +0200 +++ b/pkg/imports/sec.go Thu May 09 12:49:53 2019 +0200 @@ -46,9 +46,10 @@ func (secJobCreator) Create() Job { return new(Section) } -func (secJobCreator) Depends() []string { - return []string{ - "sections", +func (secJobCreator) Depends() [2][]string { + return [2][]string{ + {"sections"}, + {}, } }