Skip to content

Commit

Permalink
fix: minor logging fix (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakimura authored Aug 23, 2022
1 parent 1cdfdf4 commit 44a9255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/alpacabkfeeder/alpacav2.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ func NewBgWorker(conf map[string]interface{}) (bgworker.BgWorker, error) {
sm = symbols.NewJSONFileManager(&http.Client{Timeout: getJSONFileTimeout},
config.StocksJSONURL, config.StocksJSONBasicAuth,
)
log.Info("updating symbols using a remote json file.")
}
sm.UpdateSymbols()
if config.SymbolsUpdateTime.IsZero() {
config.SymbolsUpdateTime = config.UpdateTime
}
timer.RunEveryDayAt(ctx, config.SymbolsUpdateTime, sm.UpdateSymbols)
log.Info("updated symbols using a remote json file.")

// init BarWriter
var bw writer.BarWriter = writer.BarWriterImpl{
Expand Down

0 comments on commit 44a9255

Please sign in to comment.