Open MikaelPorttila opened 2 years ago
I think this is happening to me. I have an app that is running on Deno Cron that simply calls a webhook URL and it seems to be calling the webhook twice. I'm not really sure what to do. I wonder if there's something like if env equals development return
I could call to bail out of environments that aren't production???
I was playing around with Deno Deploy and Discord bots and noticed that I start getting old code behavior and realized that there were multiple instances running and no option or way to prevent old instances of code to run in the Deno Deploy hosting environment.
A way to kill off preview deployment instances or even better an option to prevent them from being created in the first place would be great option.