@milabench/bujang 0.1.9 → 0.1.10
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/dist/index.js +257 -244
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/SshConnectDialog.tsx +11 -6
- package/src/views/JanitorView.tsx +1 -1
package/package.json
CHANGED
|
@@ -323,12 +323,17 @@ export const SshConnectButton: React.FC = () => {
|
|
|
323
323
|
? `${connected} of ${shared.length} clusters connected${missing ? ': log in to the others' : ''}`
|
|
324
324
|
: 'Open the ssh connections of the clusters'}
|
|
325
325
|
>
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
{connected}
|
|
331
|
-
|
|
326
|
+
{connected > 0 ? (
|
|
327
|
+
<>
|
|
328
|
+
<Box as="span" w="8px" h="8px" borderRadius="full" flexShrink={0}
|
|
329
|
+
bg="var(--color-status-running, #22c55e)" />
|
|
330
|
+
{connected} connected
|
|
331
|
+
</>
|
|
332
|
+
) : (
|
|
333
|
+
<>
|
|
334
|
+
<LuPlug />
|
|
335
|
+
Connect
|
|
336
|
+
</>
|
|
332
337
|
)}
|
|
333
338
|
</Button>
|
|
334
339
|
<SshConnectDialog open={open} onClose={() => setOpen(false)} />
|
|
@@ -207,7 +207,7 @@ const RunningCard: React.FC<{ data: JanitorOverview }> = ({ data }) => {
|
|
|
207
207
|
// ─── Periodic jobs ──────────────────────────────────────────────────
|
|
208
208
|
|
|
209
209
|
const PERIODIC_HELP: Record<string, string> = {
|
|
210
|
-
'
|
|
210
|
+
'full sync': 'pulls the job folders of the clusters that have unfinished jobs (rsync), then updates the index of the jobs page for what changed. Not a database sync.',
|
|
211
211
|
book_keeping: 'hourly: full rsync of each cluster, accounting of the finished jobs, then removal of their folders on the cluster',
|
|
212
212
|
scheduled_check: 'submits the scheduled jobs that are due',
|
|
213
213
|
janitor_prune: 'removes the history older than the retention',
|