Add comment to explain startup server (ref #4005) (#4022)

* Add comment to explain startup server (ref #4005)

* ci
login_token_table^2
Nutomic 8 months ago committed by GitHub
parent 0115613f90
commit 4bf9947153
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -119,6 +119,7 @@ pub(crate) const REQWEST_TIMEOUT: Duration = Duration::from_secs(10);
pub async fn start_lemmy_server(args: CmdArgs) -> Result<(), LemmyError> {
let settings = SETTINGS.to_owned();
// return error 503 while running db migrations and startup tasks
let mut startup_server_handle = None;
if args.http_server {
startup_server_handle = Some(create_startup_server()?);

Loading…
Cancel
Save