Opened 13 years ago
Last modified 12 years ago
#213 new defect
Lazily load Net::XMPP in Jabber module
Reported by: | davidben@mit.edu | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | jabber | Keywords: | |
Cc: |
Description
Filing this so we don't forget. We've talked about not loading modules automatically to save memory (Net::XMPP is a pig and slows down startup), but it's probably easier (less mucking about with, say, .owl/startup containing a :jabberlogin without the module explicitly loaded) if the laziness were done within modules. BarnOwl::Module::Jabber should register commands but not load the rest of the module until someone runs one of the commands (or specifically :jabberlogin).
Change History (2)
comment:1 Changed 12 years ago by jgross@mit.edu
comment:2 Changed 12 years ago by adehnert@mit.edu
- Component changed from internals to jabber
Note: See
TracTickets for help on using
tickets.
davidben has a branch for this at https://github.com/barnowl/barnowl/pull/91