From f8ce1a26bc631b58bfddc22116f5c197871c0bb7 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Wed, 18 Dec 2013 00:50:48 +1100 Subject: [PATCH] Fix MemoryStore warning message s/connection/connect/ --- lib/middleware/session.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/middleware/session.js b/lib/middleware/session.js index 128bc5915..9b5e185ca 100644 --- a/lib/middleware/session.js +++ b/lib/middleware/session.js @@ -43,7 +43,7 @@ exports.MemoryStore = MemoryStore; * Warning message for `MemoryStore` usage in production. */ -var warning = 'Warning: connection.session() MemoryStore is not\n' +var warning = 'Warning: connect.session() MemoryStore is not\n' + 'designed for a production environment, as it will leak\n' + 'memory, and will not scale past a single process.';