Cleanup after merging
This commit is contained in:
@@ -34,7 +34,7 @@ class SyncController(
|
||||
private val mutex = Mutex()
|
||||
private val jobs = ArrayMap<String, Job>(2)
|
||||
private val defaultGcPeriod: Long // gc period if sync disabled
|
||||
get() = TimeUnit.DAYS.toMillis(2)
|
||||
get() = TimeUnit.HOURS.toMillis(2)
|
||||
|
||||
override fun onInvalidated(tables: MutableSet<String>) {
|
||||
requestSync(
|
||||
@@ -136,4 +136,4 @@ class SyncController(
|
||||
favouriteCategoriesDao.gc(deletedAt)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user