Make fetching quotes concurrent.

master
root 3 years ago
parent 5070eb61f4
commit cb4d384c5f
  1. 3
      cmd/mop/main.go

@ -162,7 +162,8 @@ loop:
case <-quotesQueue.C:
if !showingHelp && !paused && len(keyboardQueue) == 0 {
screen.Draw(quotes)
go quotes.Fetch()
redrawQuotesFlag = true
}
case <-marketQueue.C:

Loading…
Cancel
Save