Subversion Repositories wimsdev

Rev

Rev 7673 | Rev 8171 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7673 Rev 8155
Line 20... Line 20...
20
void refuse_log(int th);
20
void refuse_log(int th);
21
void set_module_prefix(void);
21
void set_module_prefix(void);
22
 
22
 
23
/* check machine load. 2-threshold system.
23
/* check machine load. 2-threshold system.
24
 * Threshold 1: anonymous new session refused.
24
 * Threshold 1: anonymous new session refused.
25
 * Threshold 2: New session and anonymous request refused. */
25
 * Threshold 2: New session and anonymous request refused.
-
 
26
 */
26
void check_load(int th)
27
void check_load(int th)
27
{
28
{
28
    int load, pload;
29
    int load, pload;
29
    char *p1, *p2, buf[64];
30
    char *p1, *p2, buf[64];
30
    char *pp;
31
    char *pp;