Marco
Marco

Reputation: 1077

Firebase Functions deployments get automatically cancelled by Firebase

Is it possible that Firebase Functions deployments get automatically cancelled by Firebase?

We have simply run a deployment with:

firebase deploy --only functions

And we found that many database handler functions stops been called after some weeks. This functions are listed in Firebase Console, but the number of invocations is 0.

With another deploy, the function return to work correctly, and respond to database changes.

Upvotes: 1

Views: 135

Answers (1)

Doug Stevenson
Doug Stevenson

Reputation: 317968

If a Cloud Function hasn't been invoked in 30 days, it will stop working. This is a known limitation.

EDIT March 22, 2019: This problem has been solved, but you will have to re-deploy your functions in order to see a change in behavior.

Upvotes: 5

Related Questions