diff pkg/imports/sr.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 27ffd94afcb5
children 83b58f6356e7
line wrap: on
line diff
--- a/pkg/imports/sr.go	Thu May 09 12:25:10 2019 +0200
+++ b/pkg/imports/sr.go	Thu May 09 12:49:53 2019 +0200
@@ -79,11 +79,10 @@
 
 func (srJobCreator) Create() Job { return new(SoundingResult) }
 
-func (srJobCreator) Depends() []string {
-	return []string{
-		"sounding_results",
-		"sounding_results_contour_lines",
-		"bottlenecks",
+func (srJobCreator) Depends() [2][]string {
+	return [2][]string{
+		{"sounding_results", "sounding_results_contour_lines"},
+		{"bottlenecks"},
 	}
 }