[travis] --quiet
This commit is contained in:
parent
102dd9fea8
commit
e4aa433ea3
2 changed files with 4 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ before_script:
|
|||
- bench setup-help
|
||||
- bench scheduler disable
|
||||
- bench start &
|
||||
- sleep 20
|
||||
- sleep 10
|
||||
|
||||
script:
|
||||
- set -e
|
||||
|
|
|
|||
|
|
@ -152,9 +152,10 @@ def start_scheduler():
|
|||
|
||||
@click.command('worker')
|
||||
@click.option('--queue', type=str)
|
||||
def start_worker(queue):
|
||||
@click.option('--quiet', is_flag = True, default = False, help = 'Hide Log Outputs')
|
||||
def start_worker(queue, quiet = False):
|
||||
from frappe.utils.background_jobs import start_worker
|
||||
start_worker(queue)
|
||||
start_worker(queue, quiet = quiet)
|
||||
|
||||
@click.command('ready-for-migration')
|
||||
@click.option('--site', help='site name')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue