We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e1af09 + 7908a49 commit 17d0d45Copy full SHA for 17d0d45
oura-library/src/main/kotlin/org/radarbase/oura/request/OuraRequestGenerator.kt
@@ -242,8 +242,8 @@ constructor(
242
private val BACK_OFF_TIME = Duration.ofMinutes(10L)
243
private val ONE_DAY = 1L
244
private val TIME_AFTER_REQUEST = Duration.ofDays(30)
245
- private val USER_BACK_OFF_TIME = Duration.ofMinutes(2L)
246
- private val SUCCESS_BACK_OFF_TIME = Duration.ofSeconds(3L)
+ private val USER_BACK_OFF_TIME = Duration.ofHours(12L)
+ private val SUCCESS_BACK_OFF_TIME = Duration.ofMinutes(1L)
247
private val USER_MAX_REQUESTS = 20
248
val JSON_FACTORY = JsonFactory()
249
val JSON_READER = ObjectMapper(JSON_FACTORY).registerModule(JavaTimeModule()).reader()
0 commit comments