diff options
| author | fgsfds <4870330+fgsfds@users.noreply.github.com> | 2025-08-07 21:35:11 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-07 21:35:11 +0300 |
| commit | ae08a29cde7f4125df0480712dcbff316573e787 (patch) | |
| tree | c66c55ef0324807beffa2854a1da04cf84579122 /web/job | |
| parent | 4f25eb230edd29fa7bcf8b9bcd02ec3c38cf0a2b (diff) | |
fix: Xray restarting after being manually stopped (#2896) (#3329)
Diffstat (limited to 'web/job')
| -rw-r--r-- | web/job/check_xray_running_job.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/job/check_xray_running_job.go b/web/job/check_xray_running_job.go index bfef5ece..b28caf2b 100644 --- a/web/job/check_xray_running_job.go +++ b/web/job/check_xray_running_job.go @@ -16,7 +16,7 @@ func NewCheckXrayRunningJob() *CheckXrayRunningJob { } func (j *CheckXrayRunningJob) Run() { - if j.xrayService.IsXrayRunning() { + if !j.xrayService.DidXrayCrash() { j.checkTime = 0 } else { j.checkTime++ |
