2018-10-03 11:05:42 +02:00
|
|
|
|
|
|
|
|
|
|
|
# connection timeout for website checks (seconds)
|
|
|
|
CONNECT_TIMEOUT = 5
|
|
|
|
|
|
|
|
# response timeout for website checks
|
|
|
|
READ_TIMEOUT = 10
|
|
|
|
|
|
|
|
# Git repo for our data
|
2021-11-11 20:15:43 +01:00
|
|
|
GREEN_DIRECTORY_REPO = 'https://git.verdigado.com/NB-Public/green-directory.git'
|
2018-10-03 11:05:42 +02:00
|
|
|
|
|
|
|
# folder in that repo that holds the data
|
|
|
|
GREEN_DIRECTORY_DATA_PATH = 'data/countries/de'
|
|
|
|
|
|
|
|
# folder we use locally to clone the repo
|
|
|
|
GREEN_DIRECTORY_LOCAL_PATH = './cache/green-directory'
|
|
|
|
|
2021-11-11 20:15:43 +01:00
|
|
|
# IP address of the verdigado GCMS server
|
2021-01-18 11:25:45 +01:00
|
|
|
GCMS_IP = "194.29.234.123"
|
2018-10-03 11:05:42 +02:00
|
|
|
|
|
|
|
# kind name of the spider job key datastore entities
|
|
|
|
JOB_DATASTORE_KIND = 'spider-jobs'
|
|
|
|
|
2021-11-11 20:15:43 +01:00
|
|
|
K8S_JOBS_PATH = './k8s-jobs'
|
|
|
|
K8S_JOB_TEMPLATE = './manager/job_template.yaml'
|
|
|
|
K8S_JOB_BATCH_SIZE = 10
|