Denjanzi
Docker image multithreading
Hey there!
My bot is written in c#, Im just using Task.Run() to start new threads. I havent had any errors but have found that when i run the bot locally on my pc it can handle multiple commands at once but when running on docker it will only run 1 at a time, I have also printed out the thread the each task is running on locally and confirmed that locally at least it was creating new threads for each request the way i intended.
7 replies
Usage estimates
Awesome! thanks so much! For a simple bot do you have any guesses on how much it might cost to run? it wouldnt be in many servers and would be getting maybe an average of 1 command every few minutes or so. and it would be in c# with (i hope) decent optimization
If not totally fine! Ill just run it and see what it says! 😄
12 replies