mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
management: Move commands to all use ZulipBaseCommand.
This commit is contained in:
committed by
Tim Abbott
parent
a68bc645ed
commit
88be3246a0
@@ -2,14 +2,15 @@ import csv
|
||||
from timeit import timeit
|
||||
from typing import Any, Union
|
||||
|
||||
from django.core.management.base import BaseCommand, CommandParser
|
||||
from django.core.management.base import CommandParser
|
||||
from typing_extensions import override
|
||||
|
||||
from zerver.lib.management import ZulipBaseCommand
|
||||
from zerver.lib.queue import SimpleQueueClient, queue_json_publish
|
||||
from zerver.worker.test import BatchNoopWorker, NoopWorker
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
class Command(ZulipBaseCommand):
|
||||
help = """Times the overhead of enqueuing and dequeuing messages from RabbitMQ."""
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user