comparison 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
comparison
equal deleted inserted replaced
3218:c2b65a549c6f 3219:4acbee65275d
102 102
103 func (bnJobCreator) AutoAccept() bool { return false } 103 func (bnJobCreator) AutoAccept() bool { return false }
104 104
105 func (bnJobCreator) Create() Job { return new(Bottleneck) } 105 func (bnJobCreator) Create() Job { return new(Bottleneck) }
106 106
107 func (bnJobCreator) Depends() []string { 107 func (bnJobCreator) Depends() [2][]string {
108 return []string{ 108 return [2][]string{
109 "gauges", 109 {"bottlenecks", "bottlenecks_riverbed_materials"},
110 "bottlenecks", 110 {"gauges"},
111 } 111 }
112 } 112 }
113 113
114 const ( 114 const (
115 bnStageDoneSQL = ` 115 bnStageDoneSQL = `