Skip to content

Commit

Permalink
sales was never marked as running and caused a hang
Browse files Browse the repository at this point in the history
  • Loading branch information
emizzle committed Dec 18, 2023
1 parent 54c6258 commit d8fb787
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions codex/sales.nim
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ proc start*(sales: Sales) {.async.} =
await sales.load()
await sales.startSlotQueue()
await sales.subscribe()
sales.running = true

proc stop*(sales: Sales) {.async.} =
trace "stopping sales"
Expand Down

0 comments on commit d8fb787

Please sign in to comment.