source: trunk/config/dist/base.config @ 4508

Last change on this file since 4508 was 4508, checked in by Jari Häkkinen, 13 years ago

Addresses #1106. Missed to change reference wherefrom retrive GPLv3 license text. And some other changes.

File size: 5.3 KB
Line 
1# $Id: base.config.in 2932 2006-11-17 11:29:27Z nicklas $
2#
3# Copyright (C) 2006 Nicklas Nordborg
4# Copyright (C) 2007 Nicklas Nordborg, Martin Svensson
5#
6# This file is part of BASE - BioArray Software Environment.
7# Available at http://base.thep.lu.se/
8#
9# BASE is free software; you can redistribute it and/or
10# modify it under the terms of the GNU General Public License
11# as published by the Free Software Foundation; either version 3
12# of the License, or (at your option) any later version.
13#
14# BASE is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with BASE. If not, see <http://www.gnu.org/licenses/>.
21# ----------------------------------------
22
23# =======================
24# Database driver section
25# =======================
26
27# -----
28# MySQL
29# -----
30db.dialect          = org.hibernate.dialect.MySQLInnoDBDialect
31db.driver           = com.mysql.jdbc.Driver
32db.url              = jdbc:mysql://localhost/base2?useCursorFetch=true&defaultFetchSize=100&useServerPrepStmts=true
33db.dynamic.catalog  = base2dynamic
34db.queries          = /mysql-queries.xml
35#export.max.items    = 20000
36
37# --------
38# Postgres
39# --------
40#db.dialect          = org.hibernate.dialect.PostgreSQLDialect
41#db.driver           = org.postgresql.Driver
42#db.url              = jdbc:postgresql:base2
43#db.dynamic.catalog  = base2
44#db.dynamic.schema   = dynamic
45#db.queries          = /postgres-queries.xml
46#export.max.items    = 0
47
48# -------------
49# Common to all
50# -------------
51db.username            = base2user
52db.password            = password
53db.extended-properties = /extended-properties.xml
54db.raw-data-types      = /raw-data-types.xml
55db.batch-size          = 50
56
57
58# ======================
59# Authentication section
60# ======================
61
62# ----------------
63# POP3 mail server
64# ----------------
65#auth.driver         = net.sf.basedb.core.authentication.POP3Authenticator
66#auth.init           = mail.example.com
67#auth.synchronize    = 0
68#auth.cachepasswords = 0
69#auth.daystocache    = 0
70
71
72# ==========================
73# Internal job queue section
74# ==========================
75# If the internal job queue should be enabled or not
76jobqueue.internal.enabled            = true
77
78# Signal receiver class for sending signals to running jobs (to abort them)
79jobqueue.internal.signalreceiver.class = net.sf.basedb.core.signal.LocalSignalReceiver
80jobqueue.internal.signalreceiver.init  = jobqueue:0
81
82# If plugins with useInteralJobQueue = false should be executed or not
83jobqueue.internal.runallplugins      = false
84
85# The maximum thread priority for any thread executing a plug-in
86#jobqueue.internal.maxthreadpriority  = 4
87
88# Number of seconds between checks to the job queue
89jobqueue.internal.checkinterval      = 30
90
91# NOTE! A quick job may use threads from any of the "slower" pools
92# if there is place for another thread
93# Number of threads to reserved for jobs that takes < 1 minute to execute
94jobqueue.internal.shortest.threads   = 1
95#jobqueue.internal.shortest.threadpriority = 4
96
97# Number of threads to reserved for jobs that takes < 10 minutes to execute
98jobqueue.internal.short.threads      = 1
99#jobqueue.internal.short.threadpriority = 4
100
101# Number of threads to reserved for jobs that takes < 1 hour to execute
102jobqueue.internal.medium.threads     = 2
103#jobqueue.internal.medium.threadpriority = 3
104
105# Number of threads to reserved for jobs that takes > 1 hour to execute
106jobqueue.internal.long.threads       = 4
107#jobqueue.internal.long.threadpriority = 3
108
109# ==========================
110# External job agent section
111# ==========================
112
113# Number of seconds to cache information from a job agent before it
114# is reloaded. The default value is 60 seconds.
115agent.maxage=60
116
117# The timeout in milliseconds to use when connecting to job agents to
118# get information. The default value is 1000 milliseconds.
119agent.connection.timeout=1000
120
121
122# =========================
123# Secondary storage section
124# =========================
125# The classname of the driver; leave empty to disable secondary storage
126# secondary.storage.driver   = net.sf.basedb.core.InternalStorageController
127
128# Initialisation options to the seconday storage controller
129# The internal implementation wants a path to the secondary directory
130# secondary.storage.init     = /usr/local/base2/secondary
131
132# The interval (in seconds) between checks for new files to move
133# secondary.storage.interval = 3600
134
135# Comma-separated list of time values (hours:minutes) when the controller
136# should be executed; overrides the interval setting if present
137# secondary.storage.time = 18:15,07:30
138
139# ===============
140# General section
141# ===============
142
143# The path to the directory where uploaded files are stored
144userfiles = /usr/local/base2/files
145
146# The path to the directory where external plugins are installed
147plugins.dir=/usr/local/base2/plugins
148
149# Number of minutes to keep permission information for the logged
150# in user in memory before it is reloaded from the database.
151permission.timeout = 10
152
153# Number of minutes to keep SessionControl object in the cache
154# after the last use
155cache.timeout = 20
156
157#Overwrite the existing help texts when updating the program
158helptext.update = true
159
160# Set to 1 to disable auto-compression of uploaded files
161autocompress.disable = 0
162
163
Note: See TracBrowser for help on using the repository browser.