Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
Workaround issue in InvalidPeriodicWorkRequestIntervalDetector
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbanes committed Mar 28, 2020
1 parent 5802744 commit 497056d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/src/main/java/app/tivi/tasks/ShowTasksImpl.kt
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ class ShowTasksImpl @Inject constructor(
override fun setupNightSyncs() {
val request = PeriodicWorkRequest.Builder(
SyncAllFollowedShows::class.java,
24, TimeUnit.HOURS,
12, TimeUnit.HOURS
24L, TimeUnit.HOURS,
12L, TimeUnit.HOURS
).setConstraints(
Constraints.Builder()
.setRequiredNetworkType(NetworkType.CONNECTED)
Expand Down

0 comments on commit 497056d

Please sign in to comment.