mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
Adds cleanup queries to clean out "lost" peer and tunnel state after 24 hours. We leave this state in the database so that anything trying to connect to the peer can see that it was lost, but clean it up after 24 hours to ensure our table doesn't grow without bounds.