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

Last change on this file since 3260 was 3260, checked in by Martin Svensson, 15 years ago

Fixes #537. Import documentation helptexts when installing BASE2

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