Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Clean up old sent transactions #1059

Merged
merged 1 commit into from Aug 31, 2016
Merged

Conversation

erikjohnston
Copy link
Member

No description provided.

@@ -387,8 +387,10 @@ def f(txn):
def _cleanup_transactions(self):
now = self._clock.time_msec()
month_ago = now - 30 * 24 * 60 * 60 * 1000
six_hours_ago = now - 6 * 60 * 60 * 1000
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why six hours for this one, but one month for the other?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBH, mainly because otherwise the matrix.org table becomes huuuuuuuge.

@NegativeMjark
Copy link
Contributor

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants