Update regex inventory
This commit is contained in:
parent
c7040f7ac7
commit
7888fc4090
|
|
@ -1209,7 +1209,7 @@ Ports Missing/Down: ${missing.length}\n\n`
|
|||
} else {
|
||||
this.checkingPhysicalPort()
|
||||
}
|
||||
}, 15000)
|
||||
}, 10000)
|
||||
}
|
||||
|
||||
async checkingPhysicalPort() {
|
||||
|
|
|
|||
|
|
@ -126,10 +126,17 @@ const parseLog = (data: string) => {
|
|||
}
|
||||
return records.sort((a: any, b: any) => {
|
||||
const getScore = (item: any) => {
|
||||
if (item?.name?.toLowerCase().includes('stack')) return 100
|
||||
if (
|
||||
item?.name?.toLowerCase().includes('stack') ||
|
||||
item?.descr?.toLowerCase().includes('stack')
|
||||
)
|
||||
return 100
|
||||
if (!item.pid) return 100
|
||||
return 0
|
||||
}
|
||||
if (getScore(a) === getScore(b) && a?.sn === b?.sn) {
|
||||
return b?.pid?.length - a?.pid?.length
|
||||
}
|
||||
|
||||
return getScore(a) - getScore(b)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -1224,7 +1224,7 @@ const ModalTerminal = ({
|
|||
<Tabs.Panel value="physical">
|
||||
<AutoProgress
|
||||
start={isPhysicalTest || false}
|
||||
ms={15000}
|
||||
ms={10000}
|
||||
style={{ marginTop: "8px" }}
|
||||
/>
|
||||
<fieldset>
|
||||
|
|
|
|||
Loading…
Reference in New Issue