Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to force terminating a cloud function?

I unfortunately ran to an infinite loop of cloud function ,It's being executing since yesterday without stopping ,please don't tell me how to avoid this problem because I'm fully aware of this but I ran to this issue by mistake ,I just want to know why firebase team did not yet develop a way allowing developers to force terminating such functions.

like image 786
Odai A. Ali Avatar asked Jul 28 '26 06:07

Odai A. Ali


1 Answers

You can stop a function from executing by undeploying it. Comment it out of your index.js and run firebase deploy again.

like image 107
Doug Stevenson Avatar answered Jul 29 '26 22:07

Doug Stevenson