You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I want to update my device configuration from a Firebase Cloud Function.
I've created a JWT service account that allows the firebase functions to manage all the devices.
The getDevice() function takes 2 seconds before I get the client...
Is threre a way to speed this up?
Every time I want to call the function I need to wait to get this client. Is there another approach? Or is it not normal that it takes for so long?
Closing this due to a lack of activity. @j-blasco please reply here (or create another issue) if this is still a problem for you (and the suggestions above didn't help) - thanks!
Activity
fhinkel commentedon Nov 15, 2018
@ace-n, can you route this to the appropriate Cloud Function person please. Thanks
ace-n commentedon Nov 15, 2018
/cc @samtstern
Does this help?
fhinkel commentedon Feb 28, 2019
ping @samstern, please have a look.
samtstern commentedon Feb 28, 2019
Sorry I don't think I am the right person, I don't know about this.
If
getClient()produces a singleton you can share you can call it outside of the cloud function body though.ace-n commentedon Jun 6, 2019
Closing this due to a lack of activity. @j-blasco please reply here (or create another issue) if this is still a problem for you (and the suggestions above didn't help) - thanks!
fix(deps): update dependency yargs to v16 (#824)