Skip to content

Conversation

@mcarmonaa
Copy link
Contributor

Added a new subcommand republish to the producer command to republish buried jobs:

Usage:
  borges [OPTIONS] producer republish [republish-OPTIONS]

Help Options:
  -h, --help               Show this help message

[republish command options]
          --queue=         queue name (default: borges)
          --loglevel=      max log level enabled (default: info)
          --logfile=       path to file where logs will be stored
          --metrics        expose a metrics endpoint using an HTTP server
          --metrics-port=  port to bind metrics to (default: 6062)
          --profiler       start CPU, memory and block profilers
          --profiler-port= port to bind profiler to (default: 6061)
          --priority=      priority used to enqueue jobs, goes from 0 (lowest) to :MAX: (highest)
                           (default: 4)
          --job-retries=   number of times a falied job should be processed again before reject it
                           (default: 5)
      -t, --time=          elapsed time between republish triggers (default: 0)

It depends on src-d/framework#40 and #251.

Closes #242

@erizocosmico
Copy link
Contributor

LGTM when travis passes

@mcarmonaa mcarmonaa force-pushed the feature/producer-republish-command branch 2 times, most recently from a9a1d3d to 38f4f1b Compare April 17, 2018 09:34
@mcarmonaa mcarmonaa force-pushed the feature/producer-republish-command branch from 38f4f1b to 3832ac7 Compare April 20, 2018 14:26
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com>
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com>
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com>
@mcarmonaa mcarmonaa force-pushed the feature/producer-republish-command branch from 3832ac7 to cc1803a Compare April 20, 2018 14:38
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com>
@mcarmonaa mcarmonaa merged commit e065801 into src-d:master Apr 20, 2018
@mcarmonaa mcarmonaa deleted the feature/producer-republish-command branch April 20, 2018 14:50
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

Successfully merging this pull request may close these issues.

3 participants