mirror of https://github.com/rq/rq.git
Removed alternative parameters for PID file creation
This commit is contained in:
parent
72d219a24c
commit
995554cdd2
|
@ -42,10 +42,6 @@ def setup_default_arguments(args, settings):
|
|||
if args.socket is None and socket:
|
||||
args.socket = socket
|
||||
|
||||
pid = settings.get('PID_FILE', False)
|
||||
if args.pid is None and pid:
|
||||
args.pid = pid
|
||||
|
||||
if args.db is None:
|
||||
args.db = settings.get('REDIS_DB', 0)
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ def parse_args():
|
|||
parser.add_argument('--verbose', '-v', action='store_true', default=False, help='Show more output')
|
||||
parser.add_argument('--quiet', '-q', action='store_true', default=False, help='Show less output')
|
||||
parser.add_argument('--sentry-dsn', action='store', default=None, metavar='URL', help='Report exceptions to this Sentry DSN')
|
||||
parser.add_argument('--pid', '-i', action='store', default=None,
|
||||
parser.add_argument('--pid', action='store', default=None,
|
||||
help='Write PID to this file')
|
||||
parser.add_argument('queues', nargs='*', help='The queues to listen on (default: \'default\')')
|
||||
|
||||
|
|
Loading…
Reference in New Issue