Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-01-28 22:41:19 +08:00
parent 160cec085b
commit 22f63e335a
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -108,7 +108,12 @@ func logBootInfo() {
}
go func() {
if ghw.DriveTypeSSD.String() != getWorkspaceDriveType() {
driveType := getWorkspaceDriveType()
if "" == driveType {
return
}
if ghw.DriveTypeSSD.String() != driveType {
logging.LogWarnf("workspace dir [%s] is not in SSD drive, performance may be affected", WorkspaceDir)
WaitForUILoaded()
time.Sleep(3 * time.Second)