mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Currently we query only the underlying host's memory usage for our memory resource monitor. This PR changes that to check if the workspace is in a container, and if so it queries the container's memory usage, falling back to the host's memory usage if not.