comparison pkg/imports/st.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 5c8ecab9f2d4
children bfde4f8dd323
comparison
equal deleted inserted replaced
3218:c2b65a549c6f 3219:4acbee65275d
46 46
47 func (stJobCreator) AutoAccept() bool { return false } 47 func (stJobCreator) AutoAccept() bool { return false }
48 48
49 func (stJobCreator) Create() Job { return new(Stretch) } 49 func (stJobCreator) Create() Job { return new(Stretch) }
50 50
51 func (stJobCreator) Depends() []string { 51 func (stJobCreator) Depends() [2][]string {
52 return []string{ 52 return [2][]string{
53 "stretches", 53 {"stretches", "stretch_countries"},
54 {},
54 } 55 }
55 } 56 }
56 57
57 const ( 58 const (
58 stDeleteSQL = ` 59 stDeleteSQL = `