Skip to content

Commit

Permalink
runtornado: Honor the --skip-checks flag.
Browse files Browse the repository at this point in the history
This is particularly important because they can be quite heavy-weight.
  • Loading branch information
alexmv authored and timabbott committed Apr 15, 2024
1 parent 043d312 commit d341e6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zerver/management/commands/runtornado.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ def remove_signal_handlers() -> None:

# 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:
Expand Down

0 comments on commit d341e6c

Please sign in to comment.