Skip to content

Commit 0ff8eb0

Browse files
committed
Override active prune threshold to 1000 years in upgrade tests
We expect to find these entries, but they were being prune and all the tests broke 60 days after the data was generated. Bump the threshold to ~1000 years so that they don't get prune.
1 parent 8f5c806 commit 0ff8eb0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/upgrade-tests/common.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export PYTHONPATH=.
2323
rm -rf rooms database.db files key_x25519 x25519_{public,private}_key.pem
2424

2525
echo -e "[log]\nlevel = DEBUG" >sogs.ini
26+
echo -e "[rooms]\nactive_prune_threshold = 365000" >>sogs.ini
2627
if [ -n "$SOGS_PGSQL" ]; then
2728
echo -e "[db]\nurl = $SOGS_PGSQL" >>sogs.ini
2829
for table in rooms users messages message_history pinned_messages files room_users \

0 commit comments

Comments
 (0)