Skip to content

Commit

Permalink
sync items on start
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmanuylov committed Mar 14, 2017
1 parent e97dcb6 commit 78845f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jongleur/jongleur.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ func Run(config *Config, logger *log.Logger) error {
defer syncTicker.Stop()

go func() {
syncItems(data)
for range syncTicker.C {
syncItems(data)
}
Expand Down

0 comments on commit 78845f3

Please sign in to comment.