Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed debugging code

  • Loading branch information...
commit 44cf811668ec4863c30a087730b138d0046af8f6 1 parent db17a09
@pilif authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/tempalias_http.js
View
4 lib/tempalias_http.js
@@ -90,7 +90,6 @@ fs.realpath('lib/../public', function(err, public_root){
var rbl_check = function(){
if (config.http.rbls){
- sys.debug('rbls set');
var addr = req.socket.remoteAddress;
require('rbl').check(addr, config.http.rbls, function(found){
if (found){
@@ -113,9 +112,7 @@ fs.realpath('lib/../public', function(err, public_root){
if (!lr){
redis.get(lock_key, function(exp){
if (parseInt(exp, 10) < (t)){
- sys.debug('lock key found but expired');
redis.set(lock_key, t+config.http.rate_limit, function(){
- sys.debug('lock key updated');
rbl_check();
});
}else{
@@ -123,7 +120,6 @@ fs.realpath('lib/../public', function(err, public_root){
}
});
}else{
- sys.debug('lock key not found. Was set to '+lr);
rbl_check();
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.