Mercurial > gemma
diff pkg/imports/fa.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 | cfc523c70e90 |
children | 02951a62e8c6 |
line wrap: on
line diff
--- a/pkg/imports/fa.go Thu May 09 12:25:10 2019 +0200 +++ b/pkg/imports/fa.go Thu May 09 12:49:53 2019 +0200 @@ -161,14 +161,11 @@ func (faJobCreator) Create() Job { return new(FairwayAvailability) } -func (faJobCreator) Depends() []string { - return []string{ - "bottlenecks", - "fairway_availability", - "bottleneck_pdfs", - "effective_fairway_availability", - "fa_reference_values", - "levels_of_service", +func (faJobCreator) Depends() [2][]string { + return [2][]string{ + {"effective_fairway_availability", "fa_reference_values", + "bottleneck_pdfs", "fairway_availability"}, + {"bottlenecks", "levels_of_service"}, } }