mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
run-dev: Let Sentry be enabled, if configured.
It was being automatically forced off by dint of being run with a TTY still attached to STDIN. `./manage.py rundjangoserver` was unaffected, as it does not descend from ZulipBaseCommand.
This commit is contained in:
committed by
Tim Abbott
parent
8691c11933
commit
8bb0768c4b
@@ -113,6 +113,7 @@ else:
|
|||||||
"runtornado",
|
"runtornado",
|
||||||
"--autoreload",
|
"--autoreload",
|
||||||
"--immediate-reloads",
|
"--immediate-reloads",
|
||||||
|
"--automated",
|
||||||
]
|
]
|
||||||
|
|
||||||
manage_args = [f"--settings={settings_module}"]
|
manage_args = [f"--settings={settings_module}"]
|
||||||
@@ -186,14 +187,14 @@ def server_processes() -> list[list[str]]:
|
|||||||
return main_cmds
|
return main_cmds
|
||||||
|
|
||||||
other_cmds = [
|
other_cmds = [
|
||||||
["./manage.py", "process_queue", "--all", *manage_args],
|
["./manage.py", "process_queue", "--all", *manage_args, "--automated"],
|
||||||
[
|
[
|
||||||
"env",
|
"env",
|
||||||
"PGHOST=127.0.0.1", # Force password authentication using .pgpass
|
"PGHOST=127.0.0.1", # Force password authentication using .pgpass
|
||||||
"./puppet/zulip/files/postgresql/process_fts_updates",
|
"./puppet/zulip/files/postgresql/process_fts_updates",
|
||||||
"--quiet",
|
"--quiet",
|
||||||
],
|
],
|
||||||
["./manage.py", "deliver_scheduled_messages"],
|
["./manage.py", "deliver_scheduled_messages", "--automated"],
|
||||||
[
|
[
|
||||||
"./manage.py",
|
"./manage.py",
|
||||||
"runtusd",
|
"runtusd",
|
||||||
|
Reference in New Issue
Block a user