… | |
… | |
24 | $WAIT_INTERVAL = 60*5; # check for free slot this often |
24 | $WAIT_INTERVAL = 60*5; # check for free slot this often |
25 | $WAIT_BUFSIZE = 512; # send this much data while waiting |
25 | $WAIT_BUFSIZE = 512; # send this much data while waiting |
26 | |
26 | |
27 | $BUFSIZE = 32*1024; # buffer size |
27 | $BUFSIZE = 32*1024; # buffer size |
28 | |
28 | |
29 | $TBF_RATE = 100000000; |
29 | $TBF_RATE = 100000000; # maximum allowed throughput |
|
|
30 | $TBF_MAX_PER_CLIENT = 100000; # maximum throughput per connection |
30 | |
31 | |
31 | $AIO_PARALLEL = 1; # how many reader threads for i/o? |
32 | $AIO_PARALLEL = 1; # how many reader threads for i/o? |
32 | |
33 | |
33 | $ACCESS_LOG = "logs/accesslog"; # access log |
34 | $ACCESS_LOG = "logs/accesslog"; # access log |
34 | $ERROR_LOG = "logs/errorlog"; # error log |
35 | $ERROR_LOG = "logs/errorlog"; # error log |