maxpool 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/tui.js +4 -4
package/package.json
CHANGED
package/src/tui.js
CHANGED
|
@@ -908,8 +908,8 @@ export class TUI {
|
|
|
908
908
|
this.config.scheduler.providers = { ...(this.am.scheduler.providers || {}) };
|
|
909
909
|
await this.saveConfig(this.config);
|
|
910
910
|
this._addLog(next
|
|
911
|
-
? 'Peak hours:
|
|
912
|
-
: 'Peak hours:
|
|
911
|
+
? 'Peak hours: GLM ranks last during the window (overrides the routing mode)'
|
|
912
|
+
: 'Peak hours: routing runs normally during the window (the cap still applies)');
|
|
913
913
|
}
|
|
914
914
|
|
|
915
915
|
/** Cycle the peak weekly cap across the values that mean something. */
|
|
@@ -1986,9 +1986,9 @@ export class TUI {
|
|
|
1986
1986
|
const ps = this.am._peakSettingsFor(peakFam.provider);
|
|
1987
1987
|
const st = this.am._peakStateFor?.(peakFam.provider);
|
|
1988
1988
|
const now = st?.inPeak ? red(' NOW') : '';
|
|
1989
|
-
const dep = ps.depreference ? yellow('
|
|
1989
|
+
const dep = ps.depreference ? yellow('GLM last') : cyan('normal');
|
|
1990
1990
|
const cap = ps.cap >= 1 ? 'off' : ps.cap === 0 ? 'never' : `${Math.round(ps.cap * 100)}%`;
|
|
1991
|
-
peakPart = ` ${dim('│')}
|
|
1991
|
+
peakPart = ` ${dim('│')} ${bold(' d ')}Peak${now}: ${dep} ${bold(' c ')}cap ${cyan(cap)}`;
|
|
1992
1992
|
}
|
|
1993
1993
|
return ` ${bold('f')} Routing: ${cyan(mode.label)} ↻${provPart}${peakPart} ${bold('p')} Preference ${bold('Esc')} Back`;
|
|
1994
1994
|
}
|