comparison MoinMoin/multiconfig.py @ 445:a71176d858be

surge protection: specialcase AttachFile, fix no cache exists case imported from: moin--main--1.5--patch-449
author Thomas Waldmann <tw@waldmann-edv.de>
date Thu, 16 Feb 2006 22:08:06 +0000
parents f2f1db293930
children 8ec16f62e989
comparison
equal deleted inserted replaced
444:918c58dcc275 445:a71176d858be
298 stylesheets = [] # list of tuples (media, csshref) to insert after theme css, before user css 298 stylesheets = [] # list of tuples (media, csshref) to insert after theme css, before user css
299 superuser = [] # list of unicode user names that have super powers :) 299 superuser = [] # list of unicode user names that have super powers :)
300 300
301 surge_action_limits = { # allow max. <count> <action> requests per <dt> secs 301 surge_action_limits = { # allow max. <count> <action> requests per <dt> secs
302 # action: (count, dt) 302 # action: (count, dt)
303 'all': (20, 30), 303 'all': (30, 30),
304 'show': (20, 60), 304 'show': (30, 60),
305 'recall': (5, 60), 305 'recall': (5, 60),
306 'raw': (20, 40), # some people use this for css 306 'raw': (20, 40), # some people use this for css
307 'AttachFile': (60, 60), 307 'AttachFile': (90, 60),
308 'diff': (30, 60), 308 'diff': (30, 60),
309 'fullsearch': (5, 60), 309 'fullsearch': (5, 60),
310 'edit': (10, 120), 310 'edit': (10, 120),
311 'rss_rc': (1, 60), 311 'rss_rc': (1, 60),
312 'default': (30, 60), 312 'default': (30, 60),