mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Remove accidentally committed debug hardcode hack
This commit is contained in:
parent
1ccaea5b92
commit
ce8b0b2868
@ -184,10 +184,11 @@ class Porter(object):
|
|||||||
if table == "sent_transactions":
|
if table == "sent_transactions":
|
||||||
# This is a big table, and we really only need some of the recent
|
# This is a big table, and we really only need some of the recent
|
||||||
# data
|
# data
|
||||||
|
|
||||||
yield self.postgres_store.execute(delete_all)
|
yield self.postgres_store.execute(delete_all)
|
||||||
|
|
||||||
# Only save things from the last day
|
# 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
|
# And save the max transaction id from each destination
|
||||||
select = (
|
select = (
|
||||||
|
Loading…
Reference in New Issue
Block a user