diff options
| author | Jokler <jokler@protonmail.com> | 2020-01-30 15:55:41 +0100 |
|---|---|---|
| committer | Jokler <jokler@protonmail.com> | 2020-02-22 23:20:10 +0100 |
| commit | 757edd214f841e8d95e4c5430d7ead7a0e8fecbb (patch) | |
| tree | 3d0721d1d1f73c9bc1fd5ac23aef505e1051d5e5 /config.toml.example | |
| parent | 2792ba9c8a7120a91b3bd2c6075e737690e73405 (diff) | |
| download | pokebot-757edd214f841e8d95e4c5430d7ead7a0e8fecbb.tar.gz pokebot-757edd214f841e8d95e4c5430d7ead7a0e8fecbb.zip | |
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.
Diffstat (limited to 'config.toml.example')
| -rw-r--r-- | config.toml.example | 4 |
1 files changed, 4 insertions, 0 deletions
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"] |
