DarkShield / daDashboard

Dashboard Frontend
0 stars 0 forks source link

Connect depreciated #45

Open mattjay opened 10 years ago

mattjay commented 10 years ago

Get these warnings on startup:

connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
Warning: connection.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
ProZachJ commented 9 years ago

I dug into this a bit and I found something interesting. It appears that almost all of the features we are using express for are actually coming from connect. With the exception maybe of calls to next(). Which I think would be pretty damn easy to implement ourselves. Might be worth trying to rip out express and go with pure connect. Far fewer dependencies and more modular than express.