how to prevent restart serverless instance

runpod serverless instance is restarting when error in the code . but I dont want to restarting . how to prevent it?
2 Replies
Madiator2011
Madiator20113mo ago
set it as active worker
ashleyk
ashleyk3mo ago
Why is there an error in your code anyway? I would try and fix the error.