瀏覽代碼

Add support for do_ping to synapse-http-antispam

This defaults to true for end user comfort as it helps assure them the modules connection to the consumer is working or is definitively not working. (As far as i have been told it retries until success)
pull/4393/head
Catalan Lover 8 月之前
父節點
當前提交
621c40d14d
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 649BCCF930C07F70
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. +5
    -0
      roles/custom/matrix-synapse/defaults/main.yml

+ 5
- 0
roles/custom/matrix-synapse/defaults/main.yml 查看文件

@@ -1426,6 +1426,10 @@ matrix_synapse_ext_synapse_http_antispam_config_base_url: ''
# homeserver a lot like how AS authentication is done. This is fully managed # homeserver a lot like how AS authentication is done. This is fully managed
# the same way AS authentication is by the playbook. # the same way AS authentication is by the playbook.
matrix_synapse_ext_synapse_http_antispam_config_authorization: '' matrix_synapse_ext_synapse_http_antispam_config_authorization: ''
# This controls if the module will ping the consumer or not for ease of troubleshooting. This defaults
# to enabled to help assure users that the connection is working.
# Due to that its only a single log line per worker per startup this default is deemed acceptable.
matrix_synapse_ext_synapse_http_antispam_config_do_ping: true
# This controls what callbacks are activated. This list is fully dependent on what consumer is in play. # This controls what callbacks are activated. This list is fully dependent on what consumer is in play.
# And what capabilities said consumer should or shouldn't have. There are also performance implications # And what capabilities said consumer should or shouldn't have. There are also performance implications
# to these choices. # to these choices.
@@ -1440,6 +1444,7 @@ matrix_synapse_ext_synapse_http_antispam_config: "{{ matrix_synapse_ext_synapse_
matrix_synapse_ext_synapse_http_antispam_config_yaml: | matrix_synapse_ext_synapse_http_antispam_config_yaml: |
base_url: {{ matrix_synapse_ext_synapse_http_antispam_config_base_url | to_json }} base_url: {{ matrix_synapse_ext_synapse_http_antispam_config_base_url | to_json }}
authorization: {{ matrix_synapse_ext_synapse_http_antispam_config_authorization | to_json }} authorization: {{ matrix_synapse_ext_synapse_http_antispam_config_authorization | to_json }}
do_ping: {{ matrix_synapse_ext_synapse_http_antispam_config_do_ping | to_json }}
enabled_callbacks: {{ matrix_synapse_ext_synapse_http_antispam_config_enabled_callbacks | to_json }} enabled_callbacks: {{ matrix_synapse_ext_synapse_http_antispam_config_enabled_callbacks | to_json }}
fail_open: {{ matrix_synapse_ext_synapse_http_antispam_config_fail_open | to_json }} fail_open: {{ matrix_synapse_ext_synapse_http_antispam_config_fail_open | to_json }}
async: {{ matrix_synapse_ext_synapse_http_antispam_config_async | to_json }} async: {{ matrix_synapse_ext_synapse_http_antispam_config_async | to_json }}


Loading…
取消
儲存