From 9ae2866c41ce19d1340e51b7f663d81441931829 Mon Sep 17 00:00:00 2001 From: Erik de Vries Date: Mon, 12 Sep 2022 18:14:01 +0200 Subject: [PATCH] remove default user --- R/elasticizer.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/elasticizer.R b/R/elasticizer.R index a95bd1e..64da603 100644 --- a/R/elasticizer.R +++ b/R/elasticizer.R @@ -21,7 +21,7 @@ ################################################################################################# #################################### Get data from ElasticSearch ################################ ################################################################################################# -elasticizer <- function(query, src = T, index = 'maml', es_user = 'es', es_pwd = .rs.askForPassword("Elasticsearch READ"), batch_size = 1024, max_batch = Inf, time_scroll = "5m", dump = F, update = NULL, localhost = F, ...){ +elasticizer <- function(query, src = T, index = 'maml', es_user, es_pwd = .rs.askForPassword("Elasticsearch READ"), batch_size = 1024, max_batch = Inf, time_scroll = "5m", dump = F, update = NULL, localhost = F, ...){ retries <- 10 ### Number of retries on error sleep <- 30 ### Number of seconds between retries httr::set_config(httr::config(http_version = 0))