Skip to content

[Mongo] Multiple Job documents from a single job #189

Description

@cescoferraro

I have used Kala before with Redis. Perfect! Thanks Guys! But on this specific project I would like to use the new Mongo Driver since this project already have a MongoDB within its infrastructure.

The following commands happen to create multiple documents to the same job
The tasks seem to run nicely, but I am afraid this multiple documents will bloat up my database

$ kala run --jobDB=mongo --jobDBAddress=xxxxx.domain.live --jobDBUsername=admin --jobDBPassword=pass

$ http http://127.0.0.1:8000/api/v1/job/ name=test_job command="touch lol" schedule=R0/2018-08-09T09:57:30-07:00/P

Fresh Database with a single command creates 8 documents

mongokala

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions