Commit fe8d39f
committed
Fix over-counted site availability: exclude future advance reservations
occupied_node_capacity() now defaults to start=now, end=now when no time
range is specified. Previously, all Ticketed reservations (including future
advance reservations) were counted as currently occupied, causing
cores_allocated to exceed cores_capacity at sites like UCSD (657 > 640).
Calendar/scheduling callers that pass explicit start/end are unaffected.1 parent 7276929 commit fe8d39f
1 file changed
Lines changed: 10 additions & 1 deletion
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
170 | 179 | | |
171 | 180 | | |
172 | 181 | | |
| |||
0 commit comments