env fix
This commit is contained in:
parent
83a14f49e5
commit
5f78c4915f
2
main.go
2
main.go
|
|
@ -73,7 +73,7 @@ func main() {
|
||||||
func worker(importer *repositories.Importer, stopCh <-chan struct{}, updatePeriod time.Duration) {
|
func worker(importer *repositories.Importer, stopCh <-chan struct{}, updatePeriod time.Duration) {
|
||||||
ticker := time.NewTicker(updatePeriod)
|
ticker := time.NewTicker(updatePeriod)
|
||||||
defer ticker.Stop()
|
defer ticker.Stop()
|
||||||
|
log.Printf("Updater worker Started")
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
case <-stopCh:
|
case <-stopCh:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue