Skip to content

Commit

Permalink
Fix MemoryStore warning message
Browse files Browse the repository at this point in the history
s/connection/connect/
  • Loading branch information
rvagg committed Dec 17, 2013
1 parent ebbdbbb commit f8ce1a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/middleware/session.js
Expand Up @@ -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.';

Expand Down

0 comments on commit f8ce1a2

Please sign in to comment.