diff options
author | Shay <hillerys@element.io> | 2023-05-15 13:11:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-15 13:11:21 -0700 |
commit | ba572647b291e593e70a30e45c234c9766472ff3 (patch) | |
tree | e46b7e83c2dd38c1aa7a8db5a0bf61b03e2f4a62 | |
parent | Implement MSC3821 to update redaction rules (`third_party_invite.signed`) (#1... (diff) | |
download | synapse-ba572647b291e593e70a30e45c234c9766472ff3.tar.xz |
Export `run_as_background_process` from the module API (#15577)
-rw-r--r-- | changelog.d/15577.misc | 1 | ||||
-rw-r--r-- | synapse/module_api/__init__.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/15577.misc b/changelog.d/15577.misc new file mode 100644 index 0000000000..74a7f495de --- /dev/null +++ b/changelog.d/15577.misc @@ -0,0 +1 @@ +Export `run_as_background_process` from the module API. diff --git a/synapse/module_api/__init__.py b/synapse/module_api/__init__.py index 4b59e6825b..2c9d181acf 100644 --- a/synapse/module_api/__init__.py +++ b/synapse/module_api/__init__.py @@ -156,6 +156,7 @@ __all__ = [ "parse_json_object_from_request", "respond_with_html", "run_in_background", + "run_as_background_process", "cached", "NOT_SPAM", "UserID", |