Browse Source

Change ajax limit

Change ajax limit to 5 requests every 1 seconds
stralia1 3 months ago
parent
commit
25df94e62a
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      sections/ajax/index.php

+ 2
- 2
sections/ajax/index.php View File

@@ -11,8 +11,8 @@ The required page is determined by $_GET['action'].
11 11
 enforce_login();
12 12
 
13 13
 /*  AJAX_LIMIT = array(x,y) = 'x' requests every 'y' seconds.
14
-  e.g. array(5,10) = 5 requests every 10 seconds  */
15
-$AJAX_LIMIT = array(5,10);
14
+  e.g. array(5,1) = 5 requests every 1 seconds  */
15
+$AJAX_LIMIT = array(5,1);
16 16
 $LimitedPages = array('tcomments','user','forum','top10','browse','usersearch','requests','artist','inbox','subscriptions','bookmarks','announcements','notifications','request','better','similar_artists','userhistory','votefavorite','wiki','torrentgroup','news_ajax','user_recents', 'collage', 'raw_bbcode');
17 17
 
18 18
 // These users aren't rate limited.

Loading…
Cancel
Save