Skip to content

Commit

Permalink
move "complete" checkpoint to end of function
Browse files Browse the repository at this point in the history
chronologically equivalent currently, but more future-proof
to put it here.
  • Loading branch information
jcsp committed Aug 4, 2023
1 parent f46ec6d commit 4798976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pageserver/src/bin/pageserver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,6 @@ fn start_pageserver(

}

startup_checkpoint("complete", "Startup complete");
};

async move {
Expand Down Expand Up @@ -574,6 +573,7 @@ fn start_pageserver(
);
}

startup_checkpoint("complete", "Startup complete");
let mut shutdown_pageserver = Some(shutdown_pageserver.drop_guard());

// All started up! Now just sit and wait for shutdown signal.
Expand Down

0 comments on commit 4798976

Please sign in to comment.