From 757edd214f841e8d95e4c5430d7ead7a0e8fecbb Mon Sep 17 00:00:00 2001 From: Jokler Date: Thu, 30 Jan 2020 15:55:41 +0100 Subject: Spawn actix-web server with access to the bot Additionally replace all Mutexes with RwLocks. Hopefully this makes it possible for the web server to serve many requests at once since they would just hold read locks. --- config.toml.example | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.toml.example') diff --git a/config.toml.example b/config.toml.example index 8545dfe..50cec56 100644 --- a/config.toml.example +++ b/config.toml.example @@ -5,6 +5,10 @@ address = "localhost" # Channel for the master bot channel = "Lobby" +# Web server settings +domain = "localhost" +bind_address = "127.0.0.1:45538" + # Names for the music bots names = ["MusicBot"] -- cgit v1.2.3-70-g09d2