mirror of
https://github.com/coder/coder.git
synced 2026-11-09 08:01:34 +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.