[Moin-user] Disable Surge Protector

Zhang Yunfeng zhangyunfeng at gmail.com
Wed Aug 16 21:35:23 EDT 2006


This is mine in wikiconfig.py  it works ok for me. 

Surge protection seems only work for each user. the number of user
should not be the problem.

    surge_action_limits = { # allow max. <count> <action> requests per <dt> secs
        # action: (count, dt)
        'all': (3000, 30),
        'show': (3000, 60),
        'recall': (500, 60),
        'raw': (2000, 40),  # some people use this for css
        'AttachFile': (9000, 60),
        'diff': (3000, 60),
        'fullsearch': (500, 60),
        'edit': (1000, 120),
        'rss_rc': (100, 60),
        'default': (3000, 60),
        }
    surge_lockout_time = 3600 # secs you get locked out when you ignore warnings



--
Zhang Yunfeng
http;//vib.hit.edu.cn
http://my.opera.com/zhangyunfeng





More information about the Moin-user mailing list