hagen / cliniconnect-api

0 stars 0 forks source link

DataSync lambda timeouts #54

Closed hagen closed 6 years ago

hagen commented 6 years ago

Data sync lambda timeouts might become a problem where it takes a long time for the lambda to execute, especially if we have multiple new signups in the preceeding half hour.

hagen commented 6 years ago

This can be resolved by just spawning an instance. The instance can spawn more of itself if there are too many accounts to run, or shut down if there are no accounts to run. This would be benefited by using a pre-built AMI instead of downloading code each time.