Skip to content

Commit bf15bee

Browse files
committed
test updates
1 parent 469b904 commit bf15bee

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

server/preprocessing/other-scripts/test/base-test.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ options(warn=1)
77
wd <- dirname(rstudioapi::getActiveDocumentContext()$path)
88
setwd(wd) #Don't forget to set your working directory
99

10-
query <- 'open access' #args[2]
10+
query <- 'initial sediment quality guidelines' #args[2]
1111
service <- "base"
1212
params <- NULL
1313
params_file <- "params_base.json"
@@ -74,4 +74,5 @@ if (!exists('output_json')) {
7474
output_json <- detect_error(failed, service)
7575
}
7676

77-
print(output_json)
77+
output <- fromJSON(output_json)
78+
#print(output_json)

server/preprocessing/other-scripts/test/params_base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"document_types":["121"],
33
"from":"1665-01-01",
4-
"to":"2021-10-07",
4+
"to":"2022-01-13",
55
"sorting":"most-relevant",
66
"lang_id":"eng",
77
"vis_id": "TEST_ID",

server/workers/proxy/templates/default.conf.template.example

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
server {
22
listen ${NGINX_PORT};
33

4-
proxy_read_timeout 300;
5-
proxy_connect_timeout 300;
6-
proxy_send_timeout 300;
4+
proxy_read_timeout 600;
5+
proxy_connect_timeout 600;
6+
proxy_send_timeout 600;
7+
send_timeout 600;
78
client_max_body_size 100M;
89

910
location /stable/ {

0 commit comments

Comments
 (0)