fix #335 by making req limit higher

This commit is contained in:
reality 2013-04-05 13:30:47 +03:00
parent 24e6012feb
commit 4a27036307

View File

@ -11,7 +11,7 @@ var link = function(dbot) {
this.urlRegex = /(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig;
this.links = {};
this.fetchTitle = function(event, link) {
var limit = 250 * 1000,
var limit = 1000000,
size = 0,
page = request(link, function(error, response, body) {
if(!error && response.statusCode == 200) {