ShokoAnime / ShokoServer

Repository for Shoko Server.
http://shokoanime.com/shoko-server/
MIT License
374 stars 74 forks source link

Feature Request: Configure number of workers from WebUI #1110

Closed WrayOfSunshine closed 3 months ago

WrayOfSunshine commented 3 months ago

VERSION INFORMATION

Server Version: 4.2.2.0 (d1807ea)

Desktop Version: Not using Shoko Desktop.

LOG FILE

N/A

DESCRIPTION

I have no desire to use Shoko Desktop via Wine/etc, so I'd like to see more functions integrated into the WebUI. This feature request is to allow for modifying the number of worker threads in Shoko Server from the WebUI.

STEPS TO REPRODUCE

N/A

da3dsoul commented 3 months ago

Unfortunately, I'm not sure it's possible, as Quartz creates the thread pool at startup from the config, and I know of no way to re-initialize it

WrayOfSunshine commented 3 months ago

Dang. Couldn't even just update the config and kick off a restart of the server as a workaround?

da3dsoul commented 3 months ago

We don't have a way to restart the server from the application

ElementalCrisis commented 3 months ago

I'd rather not see this added to the Web UI, if it's even possible as our users tend to leap first without looking, especially our Linux users,

Just seems like a ton of extra troubleshooting to me.