mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:16:09 -04:00
Make redaction retention period configurable
This commit is contained in:
parent
549f974897
commit
3ff0422d2d
4 changed files with 27 additions and 3 deletions
|
@ -344,7 +344,9 @@ class RedactionTestCase(unittest.HomeserverTestCase):
|
|||
{"content": {"body": "t", "msgtype": "message"}}, json.loads(event_json)
|
||||
)
|
||||
|
||||
# Advance by 30 days
|
||||
# Advance by 30 days, then advance again to ensure that the looping call
|
||||
# for updating the stream position gets called and then the looping call
|
||||
# for the censoring gets called.
|
||||
self.reactor.advance(60 * 60 * 24 * 31)
|
||||
self.reactor.advance(60 * 60 * 2)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue