Skip to content

Commit

Permalink
Update calendar events every 5 minutes
Browse files Browse the repository at this point in the history
Signed-off-by: saulhdev <[email protected]>
  • Loading branch information
saulhdev committed Oct 21, 2024
1 parent 2c00cab commit c9da0ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class CalendarEventProvider(context: Context) : SmartspaceDataSource(
while (true) {
requiresSetup()
emit(calendarTarget())
delay(TimeUnit.MINUTES.toMillis(30))
delay(TimeUnit.MINUTES.toMillis(5))
}
}
}
Expand Down

0 comments on commit c9da0ea

Please sign in to comment.