-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
28 lines (25 loc) · 977 Bytes
/
config.toml
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
[database]
# A connection string as described in https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING
path = "postgresql:///pajbot3"
#schema_search_path = "my_postgres_schema_name"
# Additional, optional options:
# These options control the database connection pool. By default, all these options are unset, with the default
# from sea-orm used.
#max_connections = <number>
#min_connections = <number>
# See https://docs.rs/humantime/latest/humantime/fn.parse_duration.html for supported duration strings.
#connect_timeout = "30s"
#idle_timeout = "30s"
#acquire_timeout = "30s"
#max_lifetime = "30s"
# Can be one of "Off", "Error", "Warn", "Info", "Debug" or "Trace".
#sqlx_logging_level = "Off"
[web]
# Specifies that address and port to bind to.
listen = { address = "127.0.0.1:2790" }
# On unix systems, you can also use:
#listen = { path = "/var/run/pajbot3/web.sock" }
[twitch_api]
client_id = "abcd"
client_secret = "abcd"
redirect_uri = "abcd"