Mercurial > gemma
diff pkg/imports/bn.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 | 1de0764f6af4 |
children | bfde4f8dd323 |
line wrap: on
line diff
--- a/pkg/imports/bn.go Thu May 09 12:25:10 2019 +0200 +++ b/pkg/imports/bn.go Thu May 09 12:49:53 2019 +0200 @@ -104,10 +104,10 @@ func (bnJobCreator) Create() Job { return new(Bottleneck) } -func (bnJobCreator) Depends() []string { - return []string{ - "gauges", - "bottlenecks", +func (bnJobCreator) Depends() [2][]string { + return [2][]string{ + {"bottlenecks", "bottlenecks_riverbed_materials"}, + {"gauges"}, } }