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

Queue choice to multiple select in "Create New Job" #131

Open
StanleyT opened this issue Jun 19, 2015 · 2 comments
Open

Queue choice to multiple select in "Create New Job" #131

StanleyT opened this issue Jun 19, 2015 · 2 comments

Comments

@StanleyT
Copy link

page: Create New Job (aka: Step 2 of 2, after choose file)
Instead of a drop down list (maybe) make a multi queue choice instead of only one queue at a time.
result: ability to send one job to several bots on several queues at one time

@Jnesselr
Copy link
Contributor

Not sure how I would implement it. The general design philosophy is that if you need those bots to all take the same job, then put them all in the same queue. That being said, I can see cases where that might not work well. I don't think it'll be too terrible to implement once I find a good way to present it.

Behavior wise, what would you expect the behavior to be if you submitted one job to two different queues? I'd expect that the first bot available to take the job would be the one to take it and it would be in that queue. But bots can be in multiple queues, so if you had a bot named Robert that was in both queues A and B, and you decided to submit a job overlapping queues A and B, then what queue was the job technically run in? My thoughts? both. It would basically be the intersection between the queues of the bot and the queues that you selected for the job to run in.

If you instead submitted a job overlapping queues B and C, then the job would show that it ran in queue B.

Thoughts? I could definitely see a use for having a job be able to span multiple queues.

@Jnesselr Jnesselr modified the milestone: 1.0 Jun 23, 2015
@StanleyT
Copy link
Author

StanleyT commented Jul 6, 2015

implementation:
on the Create New Job page (Step 2 of 2), instead of a drop down list, there could be check-boxes for all queues created in BotQueue (populated at time of queue creation)
-or-
on the Create New Job page (Step 2 of 2), just under the drop-down box for the queue could be an option to select another queue drop-down box (in the same fashion of the "edit bot - *** page, Queues tab)

behavior:
first bot available in first queue listed, untill first queue listed is full. moves on to next queue chosen and fills that queue, and repeats with all queues chosen untill no bots/queues are available or no jobs to assign.

@Jnesselr Jnesselr removed this from the 1.0 milestone Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants