Differences From Artifact [9e534c8c98]:
- File src/loadctrl.c — part of check-in [ef5424b683] at 2020-11-05 23:15:41 on branch default-css-cleanups — Added a parameter to style_footer() and renamed it to match its actual function (style_body_and_footer()) so we can add a CSS class to each page that indicates which major Fossil feature served the page, so we can have module-specific CSS. (user: wyoung size: 1774)
To Artifact [a5cec09d63]:
- File src/loadctrl.c — part of check-in [942b2076c6] at 2020-11-07 13:25:35 on branch default-css-cleanups — Rename the "style_body_and_footer()" interface to "style_finish_page()" and add a more detailed header comment to the implementation. (user: drh size: 1770) [more...]
| ︙ | |||
55 56 57 58 59 60 61 | 55 56 57 58 59 60 61 62 63 64 65 66 | - + |
if( mxLoad<=0.0 || mxLoad>=load_average() ) return;
style_header("Server Overload");
@ <h2>The server load is currently too high.
@ Please try again later.</h2>
@ <p>Current load average: %f(load_average()).<br />
@ Load average limit: %f(mxLoad)</p>
|