hanfei1991 / microcosm

a mini bench expreriment for a task runtime scheduler
8 stars 6 forks source link

Receiving status needs to be decoupled from checking timeouts #368

Closed liuzix closed 2 years ago

liuzix commented 2 years ago

Currently, worker status is updated here https://github.com/hanfei1991/microcosm/blob/913dabfe77730d22cbfdbe37afd95c6e9344992c/lib/master/worker_manager.go#L439 Which is run at the same frequency as checking for timeouts. This limits the ability for the master to process worker status updates.

liuzix commented 2 years ago

Closed by #381