Is there a way to choose Redis DB for express-configuration?

22 views
Skip to first unread message

Alexey Ozerov

unread,
Apr 1, 2011, 3:24:22 AM4/1/11
to Express
Hi All,

Is there a way to choose Redis DB for express-configuration by using
something like 'redis.select(2)' ?
The idea is to use two different DBs: one for express-js configuration
data and another one for application data (list of menu points etc.).

Thanks in advance.

TJ Holowaychuk

unread,
Apr 1, 2011, 11:10:03 AM4/1/11
to expre...@googlegroups.com
Yeah you certainly could. currently express-configure doesn't really do anything specific, it simply defers listening until the (optional) configure callbacks are fired, which enables you do boot with async code before actually accepting connections.

-- 
TJ Holowaychuk
--
You received this message because you are subscribed to the Google Groups "Express" group.
To post to this group, send email to expre...@googlegroups.com.
To unsubscribe from this group, send email to express-js+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/express-js?hl=en.

Reply all
Reply to author
Forward
0 new messages