forked from SiriDB/siridb-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
siridb.conf
48 lines (41 loc) · 1.27 KB
/
siridb.conf
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
# Welcome to the SiriDB configuration file
[siridb]
#
# SiriDB will use this address:port for it's back-end connections.
# This must be an address that other servers can use to connect to.
# For example IPv4, IPv6 or a fqdn are all possible. When using IPv6 be sure
# to wrap the ip address with square brackets. For example [::1]:9010
# The default value is %HOSTNAME:9010. The variable %HOSTNAME will be translate
# to the systems host name.
#
server_name = %HOSTNAME:9010
#
# SiriDB will listen for client connections on this port number.
#
listen_client_port = 9000
#
# When ip_support is set to ALL, SiriDB will listen to both IPv4 and IPv6
# addresses.
# Valid options are ALL, IPV4ONLY and IPV6ONLY.
#
ip_support = ALL
#
# SiriDB will load databases from, and create databases in this location.
#
default_db_path = /var/lib/siridb
#
# SiriDB will run an optimize task each X seconds. A value of 0 (zero) disables
# optimizing.
#
optimize_interval = 3600
#
# SiriDB uses a heart-beat interval to keep connections with other servers
# online.
#
heartbeat_interval = 30
#
# SiriDB will not open more shard files than max_open_files. Note that the
# total number of open files can be sligtly higher since SiriDB also needs
# a few other files to write to.
#
max_open_files = 32768