always destroy instances
Closed this issue · 1 comments
alex60217101990 commented
Expected Behavior
an GCP and DO cloud providers always destroy instances:
2021-07-30 15:59:33.646 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:60922 - "GET /destroy HTTP/1.1" 200
2021-07-30 15:59:36.640 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:60922 - "GET /destroy HTTP/1.1" 200
2021-07-30 15:59:30.937 | INFO | uvicorn.protocols.http.h11_impl:send:461 - 127.0.0.1:60924 - "GET /destroy HTTP/1.1" 200
claffin commented
The UI regularly calls the /destroy endpoint to get a list of all the proxy instances pending deletion. This get request you are seeing is just that and it's not actually deleting the proxies.
If you start Cloudproxy and don't open the UI, then you'll notice those requests aren't there.