Пример #1
0
def dump_queue_status():
    "Dump detailed diagnostic infomation for task queues in JSON format"
    frappe.init("")
    from frappe.utils.doctor import dump_queue_status as _dump_queue_status, inspect_queue

    print json.dumps(_dump_queue_status(), indent=1)
    inspect_queue()
Пример #2
0
def dump_queue_status():
    "Dump detailed diagnostic infomation for task queues in JSON format"
    frappe.init('')
    from frappe.utils.doctor import dump_queue_status as _dump_queue_status, inspect_queue
    print json.dumps(_dump_queue_status(), indent=1)
    inspect_queue()