chrisemerson / vote.poker

8 stars 4 forks source link

Warm up all lambdas when site is first loaded #8

Open chrisemerson opened 2 years ago

chrisemerson commented 1 year ago

A 'ping' lambda is already in the source code for this purpose - this is already called by each client every 5 minutes to keep the websocket connections alive. Can use this to call each of the other functions with a specific header to tell that function not to actually do anything but just return a basic response.