projects
/
euphorik.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX nettoyer au déchargement de la page d'admin
[euphorik.git]
/
modules
/
include
/
euphorik_defines.hrl
diff --git
a/modules/include/euphorik_defines.hrl
b/modules/include/euphorik_defines.hrl
index
443437f
..
9be2226
100755
(executable)
--- a/
modules/include/euphorik_defines.hrl
+++ b/
modules/include/euphorik_defines.hrl
@@
-14,3
+14,9
@@
-define(TEMPS_FLOOD_REGISTER, 1500). % 1500 ms
% après 5 flood l'ip fautive est considérée comme bannie
-define(NB_MAX_FLOOD_REGISTER, 5).
-define(TEMPS_FLOOD_REGISTER, 1500). % 1500 ms
% après 5 flood l'ip fautive est considérée comme bannie
-define(NB_MAX_FLOOD_REGISTER, 5).
+
+
+% le nombre max de troll qui peuvent être en attente d'être posté (tous les utilisateurs réunis)
+-define(NB_MAX_TROLL_WAITING, 10).
+% chaque admin peut proposer 1 seul troll à la fois
+-define(NB_MAX_TROLL_WAITING_BY_USER, 2).