dd1c4dd42fb4162d58c3441fb9478c5f7d5eb532
Replaced unbounded thread pools in `ThreadManager` with bounded `ThreadPoolExecutor` to prevent memory exhaustion under load. Refactored shutdown logic to handle exceptions per-executor, set threads to daemon mode in `BaseThreadFactory`, and aligned synchronization patterns across multiple classes (`TaskManagerImpl`, `ChannelMessagePurger`, and `MusicManager`). Addressed lock cleanup races, double unlock issues, and static collection thread-safety concerns.
Net Neutrality Discord bot
This is the source code for my custom discord bot. This is a personal project, so I offer no support on how to build it.
The preferred method for running the bot is by using Docker Compose like this:
docker compose build
docker compose up -d
The environment variables needed for the bot to run are available in the file bot.properties.example If running locally without Docker, you need to copy the example file to bot.properties and fill the values.
Description
For any issues or feature request: https://discord.gg/qUa6zNFZsd
3 MiB
0 Stars
1 Watchers
0 Forks
Languages
Java
99.1%
Shell
0.5%
PowerShell
0.3%