Skip to content

Commit 1920a02

Browse files
committed
Fix timeline printing in multithreaded server
1 parent 7062836 commit 1920a02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api/server.rkt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@
197197
; Check if the job is already in progress.
198198
(unless (hash-has-key? current-jobs jid)
199199
(place-channel-put worker (list 'apply self command jid))
200+
(hash-set! current-jobs jid wid)
200201
(hash-set! reassigned wid jid)
201202
(hash-set! busy-workers wid worker)))
202203
; remove X many jobs from the Q and update waiting-workers

0 commit comments

Comments
 (0)