Skip to content

Commit ba17cb9

Browse files
robhojohan12345
authored andcommitted
Nobil: Fix data expiration
1 parent d08aaa3 commit ba17cb9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/net/vonforst/evmap/storage/CleanupCacheWorker.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class CleanupCacheWorker(appContext: Context, workerParams: WorkerParameters) :
1515
val savedRegionDao = db.savedRegionDao()
1616
val now = Instant.now()
1717

18-
val dataSources = listOf("openchargemap", "openstreetmap", "goingelectric")
18+
val dataSources = listOf("openchargemap", "openstreetmap", "goingelectric", "nobil")
1919
for (dataSource in dataSources) {
2020
val api = createApi(dataSource, applicationContext)
2121
val limit = now.minus(api.cacheLimit).toEpochMilli()

0 commit comments

Comments
 (0)