You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
secret_key_failed = Failed to generate secret key: %v
238
238
save_config_failed = Failed to save configuration: %v
239
239
invalid_admin_setting = Administrator account setting is invalid: %v
240
-
install_success = Welcome! Thank you for choosing Gitea. Have fun and take care!
241
240
invalid_log_root_path = The log path is invalid: %v
242
241
default_keep_email_private = Hide Email Addresses by Default
243
242
default_keep_email_private_popup = Hide email addresses of new user accounts by default.
@@ -248,6 +247,7 @@ default_enable_timetracking_popup = Enable time tracking for new repositories by
248
247
no_reply_address = Hidden Email Domain
249
248
no_reply_address_helper = Domain name for users with a hidden email address. For example, the username 'joe' will be logged in Git as 'joe@noreply.example.org' if the hidden email domain is set to 'noreply.example.org'.
password_algorithm_helper = Set the password hashing algorithm. Algorithms have differing requirements and strength. `argon2` whilst having good characteristics uses a lot of memory and may be inappropriate for small systems.
252
252
enable_update_checker = Enable Update Checker
253
253
enable_update_checker_helper = Checks for new version releases periodically by connecting to gitea.io.
// Sleep for a while to make sure the user's browser has loaded the post-install page and its assets (images, css, js)
588
+
// What if this duration is not long enough? That's impossible -- if the user can't load the simple page in time, how could they install or use Gitea in the future ....
589
+
time.Sleep(3*time.Second)
590
+
if!setting.IsProd {
591
+
time.Sleep(5*time.Second) // sleep more for dev mode, to debug the "post-install" page
592
+
}
593
+
594
+
// Now get the http.Server from this request and shut it down
595
+
// NB: This is not our hammerable graceful shutdown this is http.Server.Shutdown
0 commit comments