let add_worker worker state =
  {state with idle_workers = worker :: state.idle_workers}