summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-04-28 10:45:05 +0100
committerErik Johnston <erik@matrix.org>2015-04-28 10:45:05 +0100
commitce8b0b2868af32fac46a8414393760d326b764b7 (patch)
tree7e6d1a0e25df233550594f4b680ee55f6e997d01
parentTypo in port script (diff)
downloadsynapse-ce8b0b2868af32fac46a8414393760d326b764b7.tar.xz
Remove accidentally committed debug hardcode hack
Diffstat (limited to '')
-rw-r--r--scripts/port_from_sqlite_to_postgres.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/port_from_sqlite_to_postgres.py b/scripts/port_from_sqlite_to_postgres.py
index 56e149c477..596be75c49 100644
--- a/scripts/port_from_sqlite_to_postgres.py
+++ b/scripts/port_from_sqlite_to_postgres.py
@@ -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 = (