Skip to content

Commit 170f8f3

Browse files
committed
misc: check port
1 parent 497fc46 commit 170f8f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ClashX/General/Utils/ClashStatusTool.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ actor ClashStatusTool {
2525
return
2626
}
2727

28-
if let time = lastPortWasZero?.timeIntervalSinceNow, time < -1 {
28+
if let time = lastPortWasZero?.timeIntervalSinceNow, time < -2 {
2929
let alert = NSAlert()
3030
alert.messageText = NSLocalizedString("ClashX Start Error!", comment: "")
3131
alert.informativeText = NSLocalizedString("Ports Open Fail, Please try to restart ClashX", comment: "")

0 commit comments

Comments
 (0)