mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 08:45:58 +03:00
[PR #1447] [MERGED] Investigate nginx-ui issue 1446 #8421
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#8421
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/0xJacky/nginx-ui/pull/1447
Author: @0xJacky
Created: 11/25/2025
Status: ✅ Merged
Merged: 11/25/2025
Merged by: @0xJacky
Base:
dev← Head:cursor/investigate-nginx-ui-issue-1446-gpt-5.1-codex-high-2be0📝 Commits (1)
54d2764Refactor: Avoid network requests when health check is disabled📊 Changes
2 files changed (+74 additions, -11 deletions)
View changed files
📝
internal/sitecheck/checker.go(+26 -11)➕
internal/sitecheck/checker_test.go(+48 -0)📄 Description
Prevent disabled site health checks from making network requests to fix issue #1446.
Even when health checks were disabled, the
tryGetFaviconfunction would implicitly trigger HTTP GET requests, leading to unexpected traffic. This PR ensures that when health checks are disabled, cached site metadata is returned immediately without any network activity.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.