From d341e6ced1ba12dff2d96f1c14bf282a82be30e2 Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Mon, 15 Apr 2024 20:20:45 +0000 Subject: [PATCH] runtornado: Honor the --skip-checks flag. This is particularly important because they can be quite heavy-weight. --- zerver/management/commands/runtornado.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zerver/management/commands/runtornado.py b/zerver/management/commands/runtornado.py index 81ca7f585b..2669498b8e 100644 --- a/zerver/management/commands/runtornado.py +++ b/zerver/management/commands/runtornado.py @@ -107,7 +107,8 @@ class Command(BaseCommand): # We pass display_num_errors=False, since Django will # likely display similar output anyway. - self.check(display_num_errors=False) + if not options["skip_checks"]: + self.check(display_num_errors=False) print(f"Tornado server (re)started on port {port}") if settings.USING_RABBITMQ: