AmericanRedCross / damage-assessment-bot

Chatbot for immediate damage and needs assessments
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

Added function to keep the instance warm #102

Closed blueelvis closed 5 years ago

blueelvis commented 5 years ago

I noticed that the start from cold boot of the instance in Staging and Dev was very slow and also timing out the messages.

Added a timer trigger function to keep the instance warm.

blueelvis commented 5 years ago

@maxnorth -- This function can be called externally from Postman or other clients to keep the instance warm.

blueelvis commented 5 years ago

@maxnorth - Pushed out a new commit and resolved the comments. Please let me know if anything else is required.