https://linen.dev logo
Deployments are stopped but bot is still replying ...
# help
p
I am trying to run the serenity example in the docs and i have been able to deploy my bot, however i dont seem to be able to kill it. Furthermore it seems that 3 instances of my bot is running at the same time. When i do the !hello command 3 replies are generated. If i do cargo shuttle project list, my project is listed as ready, and if i do shutte cargo deployment list, i see 2 crashes from earlier and 3 stopped status. My code is identical to the example. This is the logs from one of the stopped services:
a
This is unfortunately a known issue at the moment and is due to the tokio runtime not properly shutting down - the engineering team is working on a fix for this
p
i see alright good to know 🙂
so is there anything i should do? can do?
a
Renewing the bot discord token should work by way of crashing the bot if I remember correctly
p
alright will do that then. Dont like the idea of running stuff thats just a black hole for resources. At least on other peoples hardware. 😄
a
It's ok - this has been a fairly common issue we've had before since quite a few people have come to shuttle for hosting their discord bots so it'll be good to get that part fixed haha
a
Ah sorry yeah - also this ^ as you don't want your discord bot to idle
p
thank you so much both of you. I really appreciate your help. Im new to Rust and even newer to shuttle. 🙂