Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose workers within scheduler #855

Open
Balearica opened this issue Nov 24, 2023 · 1 comment
Open

Expose workers within scheduler #855

Balearica opened this issue Nov 24, 2023 · 1 comment

Comments

@Balearica
Copy link
Member

Overview

We should add an interface for directly accessing all workers in a scheduler.

Motivation

Say you have a scheduler that contains 4 workers, and want to change some configuration parameter on all workers. This is a reasonable thing to want, however there is currently no easy way to do this.

  1. Passing a setParameters job through the scheduler is not correct, as the scheduler assumes all workers are homogenous and assigns jobs to the next available worker
  2. Directly accessing the workers in a scheduler is not currently possible

Therefore, one would need to create a separate array and add all workers to that array in addition to adding them to the scheduler.

@M329855
Copy link

M329855 commented Feb 14, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants