Skip to content

maintain jobs metadata #13

@tarekziade

Description

@tarekziade

If you look at what I did so far with retools at https://github.com/mozilla-services/marteau/blob/master/marteau/queue.py

I had to manually maintain new values in redis to keep track of info about a job. For instance the process stderr/stdout output and the process id.

One simple thing that could be done is to have a way to set/get values using methods in the Job class.

Maybe:

_Job.set_metadata(name, value)_

_Job.get_metadata(name, value)_

Those would be stored under retools:<job_id>:name and wiped out when the job is wiped out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions