introduce max_message_size config option

This commit is contained in:
holger krekel
2024-07-28 18:16:04 +02:00
parent 4858a67be1
commit ac1f2dadad
6 changed files with 15 additions and 6 deletions

View File

@@ -58,3 +58,8 @@ def test_config_userstate_paths(make_config, tmp_path):
with pytest.raises(ValueError):
config.get_user(".")
def test_config_max_message_size(make_config, tmp_path):
config = make_config("something.testrun.org", dict(max_message_size="10000"))
assert config.max_message_size == 10000