trim after 2 days, not 30 days

storage_ts_index
Georg Lukas 2011-04-12 15:46:28 +02:00
rodzic 7bdbb93e39
commit 7e6d95f723
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -129,7 +129,7 @@ class StorageDatabase(context : Context) extends
}
// default trim filter: 31 days in [ms]
def trimPosts() : Unit = trimPosts(System.currentTimeMillis - 31L * 24 * 3600 * 1000)
def trimPosts() : Unit = trimPosts(System.currentTimeMillis - 2L * 24 * 3600 * 1000)
def addPosition(ts : Long, message : String) {
try {