-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an self-check page for site admin #27011
Comments
All gitea doctor could check? |
Not fully understand what's your meaning.
And how to check these "gitea doctor"?
Update: confirmed, the above comment's meaning is the second one. |
Maybe |
See the answer above:
The block problem is not "output", but the whole design, especially the "time". If a "check" can't finish in 5-10 seconds, then I think it's not suitable to be put in the self-check page directly, it might need extra work to make it work asynchronously with the web UI. |
Yeah, it would need to run the check once on app startup in a separate goroutine, and then cache the result in-memory. That said, I don't require this sharing of doctor features. Fast checks could be done during the request and slow checks be kept in doctor. Or yes, check via async request. Put a button "check now", show a spinner. Then frontend can poll backend for completion. After check, cache the results in backend in memory and offer a "check again" if necessary. |
Follow #27011 Follow #30885 --------- Co-authored-by: silverwind <[email protected]> Co-authored-by: Giteabot <[email protected]>
Follow go-gitea#27011 Follow go-gitea#30885 --------- Co-authored-by: silverwind <[email protected]> Co-authored-by: Giteabot <[email protected]>
Backport #30890 by wxiaoguang Follow #27011 Follow #30885 Co-authored-by: wxiaoguang <[email protected]> Co-authored-by: silverwind <[email protected]>
%2F
kept?)X-Forwarded-Porto
are correctly set/custom/css
,/custom/robots.txt
, etc)The text was updated successfully, but these errors were encountered: