mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-13 17:53:20 +01:00
Remove accidentally committed debug hardcode hack
This commit is contained in:
parent
1ccaea5b92
commit
ce8b0b2868
1 changed files with 2 additions and 1 deletions
|
@ -184,10 +184,11 @@ class Porter(object):
|
|||
if table == "sent_transactions":
|
||||
# This is a big table, and we really only need some of the recent
|
||||
# data
|
||||
|
||||
yield self.postgres_store.execute(delete_all)
|
||||
|
||||
# Only save things from the last day
|
||||
yesterday = 1429114568820 #int(time.time()*1000) - 86400000
|
||||
yesterday = int(time.time()*1000) - 86400000
|
||||
|
||||
# And save the max transaction id from each destination
|
||||
select = (
|
||||
|
|
Loading…
Reference in a new issue