File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ export PYTHONPATH=.
23
23
rm -rf rooms database.db files key_x25519 x25519_{public,private}_key.pem
24
24
25
25
echo -e " [log]\nlevel = DEBUG" > sogs.ini
26
+ echo -e " [rooms]\nactive_prune_threshold = 365000" >> sogs.ini
26
27
if [ -n " $SOGS_PGSQL " ]; then
27
28
echo -e " [db]\nurl = $SOGS_PGSQL " >> sogs.ini
28
29
for table in rooms users messages message_history pinned_messages files room_users \
@@ -101,7 +102,4 @@ do_upgrades() {
101
102
# This should exit cleanly to indicate no needed migrations (if it doesn't, i.e. we still
102
103
# require migrations after doing a migration then Something Getting Wrong in migrations).
103
104
python3 -msogs --check-upgrades
104
-
105
- # Run the cleanup job to make sure we have the proper rooms.active_users values
106
- python3 -c ' from sogs.cleanup import cleanup; cleanup()'
107
105
}
You can’t perform that action at this time.
0 commit comments