ad_pretend_to_be_broken

one of the documented procedures in this installation of the ACS
Usage:
ad_pretend_to_be_broken
What it does:
Returns some headers, then sleeps, then some more stuff, then sleeps, ...
Defined in: /web/philip/tcl/ad-antispam.tcl

Source code:


    ReturnHeaders
    ns_sleep 1 
    ns_write "[ad_header "Connecting to the database"]

<h2>Connecting to the database</h2>

<hr>

We're having a bit of trouble connecting to the relational database
that sits behind this service.  Trying again...

"
    ns_sleep 10
    ns_write "failed.\n\n<p>  Trying again ... "
    ns_sleep 10
    ns_write "failed.\n\n<p>  Trying once more ..."
    ns_sleep 15
    ns_write "failed.  

<p>

Please try your request again in a few minutes.  Our automated
monitors may have stabilized the server.

[ad_footer]
"


philg@mit.edu