This repository was archived by the owner on Sep 26, 2022. It is now read-only.
This repository was archived by the owner on Sep 26, 2022. It is now read-only.
Run instance reaper #21
Open
Description
AWSPool's reaper method currently doesn't properly terminate idle (> 1 hour) instances based on their time. It should determine if an instance hasn't been used for an hour, and terminate it if its idle too long.
The reap method should also be automatically run every minute or so to check, so it will need to be scheduled on startup into the event loop.