querysub 0.370.0 → 0.371.0
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
CHANGED
|
@@ -487,7 +487,7 @@ export class ServiceDetailPage extends qreact.Component {
|
|
|
487
487
|
Poke
|
|
488
488
|
</button>
|
|
489
489
|
|
|
490
|
-
{configT.parameters.rollingWindow && rollingServiceCount > 0 && <button
|
|
490
|
+
{!!configT.parameters.rollingWindow && rollingServiceCount > 0 && <button
|
|
491
491
|
className={css.pad2(12, 8).button.bord2(0, 0, 20).hsl(0, 70, 90)}
|
|
492
492
|
onClick={() => {
|
|
493
493
|
void this.killAllRollingServices(config);
|
|
@@ -497,7 +497,7 @@ export class ServiceDetailPage extends qreact.Component {
|
|
|
497
497
|
{this.state.isKillingRolling ? "Killing..." : `💀 Kill ${rollingServiceCount} Rolling Service${rollingServiceCount === 1 ? "" : "s"}`}
|
|
498
498
|
</button>}
|
|
499
499
|
|
|
500
|
-
{configT.parameters.rollingWindow && <div>
|
|
500
|
+
{!!configT.parameters.rollingWindow && <div>
|
|
501
501
|
<div className={css.colorhsl(0, 50, 50).fontSize(14).fontWeight("bold")}>
|
|
502
502
|
IMPORTANT! Service has a rolling window, so updates might not appear immediately.
|
|
503
503
|
</div>
|
|
@@ -288,7 +288,7 @@ export class LogViewer3 extends qreact.Component {
|
|
|
288
288
|
<span>is not moving logs to remote storage. {formatNumber(warning.count)} files ({formatNumber(warning.totalSize)}B) are {formatTime(now - warning.oldestTime)} old</span>
|
|
289
289
|
</div>
|
|
290
290
|
))}
|
|
291
|
-
<Button
|
|
291
|
+
{!isPublic() && !readPublicLogs.value && <Button
|
|
292
292
|
onClick={async () => {
|
|
293
293
|
Querysub.commitLocal(() => {
|
|
294
294
|
this.state.forceMoveStartTime = Date.now();
|
|
@@ -318,7 +318,7 @@ export class LogViewer3 extends qreact.Component {
|
|
|
318
318
|
hue={180}
|
|
319
319
|
>
|
|
320
320
|
Force Move Logs to Public
|
|
321
|
-
</Button>
|
|
321
|
+
</Button>}
|
|
322
322
|
{(() => {
|
|
323
323
|
if (this.state.forceMoveStartTime !== undefined && this.state.forceMoveEndTime === undefined) {
|
|
324
324
|
const elapsed = Date.now() - this.state.forceMoveStartTime;
|
|
@@ -20,14 +20,12 @@ IMPORTANT! Now I am properly calling shutdown, so none of the streamed logs shou
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
AH, make sure force move works with force public flag!
|
|
24
|
+
|
|
23
25
|
2) Create lot of remote server logs
|
|
24
26
|
- Via our refresh loop
|
|
25
27
|
|
|
26
|
-
3)
|
|
27
|
-
"yarn movelogs"
|
|
28
|
-
|
|
29
|
-
0) Run move logs in function runner, in development, just so we don't get too far behind
|
|
30
|
-
|
|
28
|
+
3) Ensure our moveloops are working correctly
|
|
31
29
|
|
|
32
30
|
|
|
33
31
|
|