-
Notifications
You must be signed in to change notification settings - Fork 123
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
New workergroups configuration UI (dashboard) #172
base: 0.9.x
Are you sure you want to change the base?
Conversation
…dashboard/static/js/views/jobs.js)
@@ -223,6 +223,18 @@ define(["jquery", "underscore", "views/generic/datatablepage", "models"],functio | |||
}); | |||
self.refreshCallStack(job_id); | |||
|
|||
} else if (action == "move") { | |||
|
|||
var queue = prompt("Test"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test
mrq/basetasks/utils.py
Outdated
self.collection.update({ | ||
"_id": {"$in": jobs_by_queue[queue]} | ||
}, {"$set": updates}, multi=True) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utiliser le code de "requeue" plutôt que tout dupliquer
mrq/job.py
Outdated
self._attach_original_exception(exc) | ||
self.requeue(queue, retry_count) | ||
raise exc | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
@@ -105,6 +105,10 @@ define(["jquery", "underscore", "views/generic/datatablepage", "models"],functio | |||
var action = $(evt.target).data("action"); | |||
var data = _.clone(this.filters); | |||
|
|||
if (action == "move") { | |||
data["destination_queue"] = prompt("Enter destination queue"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
faire comme en dessous, ne rien faire si data["destination_queue"] est vide
e5164e1
to
d3db499
Compare
…tic/js/views/jobs.js)
…s/workergroups.js)
…configuration UI)
…oard - Worker group configuration UI)
…y,tasks/general.py)
What happened with this PR? Looked promising. |
Plus: