update quota
This commit is contained in:
parent
80691d1228
commit
f53f38bbf6
2
app.js
2
app.js
@ -86,7 +86,7 @@ mpq.track('text',
|
|||||||
res.send({success:false,message:'Could not validate IP quota.'});
|
res.send({success:false,message:'Could not validate IP quota.'});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (num > 500) {
|
if (num > 75) {
|
||||||
mpq.track('exceeded ip quota');
|
mpq.track('exceeded ip quota');
|
||||||
res.send({success:false,message:'Exceeded quota for this IP address.'});
|
res.send({success:false,message:'Exceeded quota for this IP address.'});
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user