From 0c8240c2caed7b538c1666a4a5109a44e8643ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Wa=C5=82ejko?= Date: Thu, 8 Feb 2024 11:55:22 +0000 Subject: [PATCH] increase number of connection retries for create_db_connection_pool --- R/db.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/db.R b/R/db.R index 8bca246..9751168 100644 --- a/R/db.R +++ b/R/db.R @@ -23,7 +23,7 @@ create_db_connection_pool <- purrr::insistently(function() { user = Sys.getenv("POSTGRES_USER"), password = Sys.getenv("POSTGRES_PASSWORD") ) -}, rate = purrr::rate_delay(2, max_times = 5)) +}, rate = purrr::rate_delay(2, max_times = 15)) get_similar_studies <- function(name, identifier) {