From eb73ec73902eda1c44738f7dc49bb8c6273a98ff Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Wed, 4 May 2016 16:04:32 +0200 Subject: [PATCH] better comment --- middleware/sendJSON.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/sendJSON.js b/middleware/sendJSON.js index 8f31681f..be2e56b0 100644 --- a/middleware/sendJSON.js +++ b/middleware/sendJSON.js @@ -3,7 +3,7 @@ var check = require('check-types'), exceptions = require('elasticsearch-exceptions/lib/exceptions/SupportedExceptions'); // create a list of regular expressions to match against. -// note: list created at runtime for performance reasons. +// note: list created when the server starts up; for performance reasons. var exceptionRegexList = exceptions.map( function( exceptionName ){ return new RegExp( '^' + exceptionName ); });