Hi, we are running a scheduled task once a day that executes a cloud script on all active players. I noticed a couple occurrences of 'execution time limit exceeded' in our dashboard, I guess because we are hitting that 1s limit for a few random people (about a handful per 10k users). The script involves getting our item catalog which I suspect is the biggest time hog. I was reading https://community.playfab.com/questions/14498/use-of-cached-objects-in-cloudscript.html and wondering if this could help? Like if the first script that runs is able to retrieve and cache the catalog as a static variable in javascript, would then other subsequent runs in that scheduled-task make use of that? Or am I thinking of this wrong?
Also, if this did indeed work, could I make any assumptions about the static variable resetting after the task is done? ie all of the servers spin down.
On a related note, I posted on some other threads about catalog-request filters (or being able to retrieve Stores via cloud script), but perhaps this would be a decent improvement on my end for now.
Thanks!