Skip to content Skip to sidebar Skip to footer

Google Cloud Functions: Edit Firebase Node At A Specific Time

So the area of interest in my Firebase database is as follows: root -requests - - requestValid: - requestExpiry

Solution 1:

There's currently no way to keep a function waiting for an arbitrarily long amount of time. Functions will be terminated after their configured timeout (9 minutes max). Also, there is currently no way to schedule the execution of a function after some delay. You'd need to write something using some other backend component to "long poll" the value for a change and react as needed.

It's a common request to have some sort of built-in scheduling mechanism for functions, and the Cloud Functions team is looking into that.

Post a Comment for "Google Cloud Functions: Edit Firebase Node At A Specific Time"