comparison 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
comparison
equal deleted inserted replaced
3218:c2b65a549c6f 3219:4acbee65275d
77 77
78 func (srJobCreator) AutoAccept() bool { return false } 78 func (srJobCreator) AutoAccept() bool { return false }
79 79
80 func (srJobCreator) Create() Job { return new(SoundingResult) } 80 func (srJobCreator) Create() Job { return new(SoundingResult) }
81 81
82 func (srJobCreator) Depends() []string { 82 func (srJobCreator) Depends() [2][]string {
83 return []string{ 83 return [2][]string{
84 "sounding_results", 84 {"sounding_results", "sounding_results_contour_lines"},
85 "sounding_results_contour_lines", 85 {"bottlenecks"},
86 "bottlenecks",
87 } 86 }
88 } 87 }
89 88
90 func (srJobCreator) StageDone( 89 func (srJobCreator) StageDone(
91 ctx context.Context, 90 ctx context.Context,