diff options
author | Ryan Bloom <rbb@apache.org> | 2001-02-06 21:41:07 +0100 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2001-02-06 21:41:07 +0100 |
commit | 9eb59aec0a48570514238b111025cdfe33f27076 (patch) | |
tree | aeacf8ce9495d98f0c8eef354e2080b59a2ebb4d /server/scoreboard.c | |
parent | Added note about later sections overriding earlier. (diff) | |
download | apache2-9eb59aec0a48570514238b111025cdfe33f27076.tar.xz apache2-9eb59aec0a48570514238b111025cdfe33f27076.zip |
Setup the server start time correctly. This also gets the server uptime
to be reported correctly. I have also moved this code into a common
location, so that individual MPMs do not need to worry about setting up
the start time.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87994 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | server/scoreboard.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/scoreboard.c b/server/scoreboard.c index 17ab9e2d20..2d4353b884 100644 --- a/server/scoreboard.c +++ b/server/scoreboard.c @@ -185,6 +185,7 @@ AP_DECLARE(void) ap_create_scoreboard(apr_pool_t *p, ap_scoreboard_e sb_type) } memset(ap_scoreboard_image, 0, SCOREBOARD_SIZE); ap_scoreboard_image->global.running_generation = running_gen; + ap_restart_time = apr_now(); apr_register_cleanup(p, NULL, ap_cleanup_scoreboard, apr_null_cleanup); } |