-
Notifications
You must be signed in to change notification settings - Fork 0
/
queue.config_sample
executable file
·31 lines (25 loc) · 1.58 KB
/
queue.config_sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
### BEGIN CONFIGURATIONS ###
# uncomment variables to set configuration
export QP_VERSION_TAG='v0.5.0' # version of qp and ds system - e.g. v0.0.1 - default is empty => master = newest
export QP_DOCKER_REGISTRY_PREFIX='docker.miracum.org/datashield_miracum' # registry host:port e.g. 'testregistry.de:5043'
export QP_DOCKER_REGISTRY_USER='' # user e.g. 'test'
export QP_DOCKER_REGISTRY_PW='' # password, e.g. 'test123!'
export QP_HOME=''
## Timeout
# TIMEOUT_QUEUE_AND_POLL sets the timeout for the queue
# -t <requestTimeout:responseTimeout> , sets request and response timeout for the queue
# if not set the default value is 10:10 (10 seconds) and (10 seconds) - these are not good for production settings,
# especially if one is expecting larger execution times on the opal server the repsoneTimeout should be set higher
# requestTimeout is the time after which the poll thread gets rejected if there is nothing in the queue
# responseTimeout is the time after which the request sender gets a timeout if there is no response for the query
# A responseTimeout of 604800 seconds = 7 days
##
export TIMEOUT_QUEUE_AND_POLL='-t 100:604800'
## Allowed Ips
# If the ALLOWED_IPS is not set the queue server is open to all ip addresses, to make the mechanism safer restrict the queue to certain ip adresses,
# Set the allowed ipadresses by setting ALLOWED_IPS to '-c <ipadress>,<ipadress>'
# note, that the allowed ip addresses should at least include your poll server ip address and one R client server ip address for the q-p
# to function.
##
# export ALLOWED_IPS='-c 140.0.0.1,140.0.0.1'
### END CONFIGURATIONS ###