Skip to content

Commit

Permalink
requent cache updates while webhooks dont work (#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
starheim98 authored and chribjel committed Dec 3, 2024
1 parent 5a3c676 commit a740057
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ fun Application.configureBackgroundTasks() {
} else {
logger.warn("Failed to refresh webhook for table ${provider.id}")
}
provider.updateCaches() // temp solution while webhooks don't work at SKIP
}

// Delay for 24 hours
delay(24 * 60 * 60 * 1000L)
delay(1 * 60 * 60 * 1000L) // changed to 1 hour while webhooks are not working as intended
} catch (e: CancellationException) {
throw e
} catch (e: Exception) {
Expand Down

0 comments on commit a740057

Please sign in to comment.