Answer prose round 1: 0 🔴, 9 🟡; reword the decision, the rule's help, run-heavy's help and the reviewer's step 4, and drop -h from the light flags
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
"""How much of the machine's memory is available, as /proc/meminfo's MemAvailable and MemTotal state it, and whether that leaves room for a worker: a quarter of it."""
|
||||
"""How much of the machine's memory is available, as /proc/meminfo's MemAvailable and MemTotal state it, and whether at least ROOM_SHARE of it is available, which leaves room for a worker."""
|
||||
import dataclasses
|
||||
import pathlib
|
||||
import re
|
||||
|
||||
MEMINFO = pathlib.Path("/proc/meminfo")
|
||||
# A worker starts only while this share of the machine's memory is available; the human chose it, as no standard sets one.
|
||||
# A worker starts only while at least this share of the machine's memory is available; the human chose it, as no standard sets one.
|
||||
ROOM_SHARE = 0.25
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user