forked from gem/oq-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenquake.cfg
76 lines (62 loc) · 2.02 KB
/
openquake.cfg
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Copyright (c) 2010-2012, GEM Foundation.
#
# OpenQuake is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# OpenQuake is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with OpenQuake. If not, see <http://www.gnu.org/licenses/>.
[kvs]
port = 6379
host = localhost
test_db = 3
# Turn on Java-side kvs connection caching for bigger deployments. When doing
# so set 'timeout=0' in /etc/redis/redis.conf -- please see
# https://bugs.launchpad.net/openquake/+bug/907760
# for details.
cache_connections = true
[amqp]
host = localhost
port = 5672
user = guest
password = guest
vhost = /
exchange = oq.signalling
[logging]
backend = amqp
[supervisor]
exe = bin/openquake_supervisor
[database]
name = openquake
host = localhost
port = 5432
admin_password = openquake
admin_user = oq_admin
job_init_password = openquake
job_init_user = oq_job_init
job_superv_password = openquake
job_superv_user = oq_job_superv
reslt_writer_password = openquake
reslt_writer_user = oq_reslt_writer
[java]
# JVM max. memory size (in MB) to be used (per celery worker process!)
max_mem = 768
[nfs]
base_dir = /var/lib/openquake
[hazard]
# The hazard calculations will be performed in blocks of 'block_size' tasks.
# The default block size is 8192.
# If we run e.g. a classical PSHA job with 150000 sites, we will calculate
# and serialize the hazard curves/maps for 8192 sites at a time.
block_size=64
[statistics]
# This setting should only be enabled during development but be omitted/turned
# off in production. It enables statistics counters for debugging purposes. At
# least one Q/A test requires these.
debug = true