mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 19:05:48 +03:00
serf: restores autopack in response to memory pressure
This commit is contained in:
parent
2994e0e44e
commit
7d243771c0
@ -393,10 +393,12 @@ _serf_sure_feck(u3_serf* sef_u, c3_w pre_w, u3_noun vir)
|
|||||||
if ( (pre_w > low_w) && !(pos_w > low_w) ) {
|
if ( (pre_w > low_w) && !(pos_w > low_w) ) {
|
||||||
// XX set flag(s) in u3V so we don't repeat endlessly?
|
// XX set flag(s) in u3V so we don't repeat endlessly?
|
||||||
//
|
//
|
||||||
|
pac_o = c3y;
|
||||||
rec_o = c3y;
|
rec_o = c3y;
|
||||||
pri = 1;
|
pri = 1;
|
||||||
}
|
}
|
||||||
else if ( (pre_w > hig_w) && !(pos_w > hig_w) ) {
|
else if ( (pre_w > hig_w) && !(pos_w > hig_w) ) {
|
||||||
|
pac_o = c3y;
|
||||||
rec_o = c3y;
|
rec_o = c3y;
|
||||||
pri = 0;
|
pri = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user