Mercurial > gemma
diff pkg/imports/agm.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 | c2b65a549c6f |
children | 56b297592c0a |
line wrap: on
line diff
--- a/pkg/imports/agm.go Thu May 09 12:25:10 2019 +0200 +++ b/pkg/imports/agm.go Thu May 09 12:49:53 2019 +0200 @@ -55,10 +55,10 @@ func (agmJobCreator) Create() Job { return new(ApprovedGaugeMeasurements) } -func (agmJobCreator) Depends() []string { - return []string{ - "gauges", - "gauge_measurements", +func (agmJobCreator) Depends() [2][]string { + return [2][]string{ + {"gauge_measurements"}, + {"gauges"}, } }