Skip to content

Commit

Permalink
Fix: inaccurate docs
Browse files Browse the repository at this point in the history
Internally, sizes are always in binary units; this documentation is misleading and implies that they work in decimal units.

Without going through and replacing _every_ "MB" -> "MiB" this is the best way to hint to developers that binary sizes are used.
  • Loading branch information
robert-c-ewing committed Feb 4, 2025
1 parent 9367929 commit 8e580c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/content/docs/job-specification/resources.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ If `cores` and `cpu` are both defined in the same resource block, validation of
### Memory

This example specifies the task requires 2 GB of RAM to operate. 2 GB is the
equivalent of 2000 MB:
equivalent of 2048 MB:

```hcl
resources {
memory = 2000
memory = 2048
}
```

Expand Down

0 comments on commit 8e580c0

Please sign in to comment.