From 4a2703630735a5c1c411e49d072aa814a6a10a1d Mon Sep 17 00:00:00 2001 From: reality Date: Fri, 5 Apr 2013 13:30:47 +0300 Subject: [PATCH] fix #335 by making req limit higher --- modules/link/link.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/link/link.js b/modules/link/link.js index fe19117..12adf09 100644 --- a/modules/link/link.js +++ b/modules/link/link.js @@ -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) {