[297] in BarnOwl Developers
Re: Reload not quite good enough
daemon@ATHENA.MIT.EDU (Alejandro R. Sedeno)
Thu Oct 29 18:04:38 2009
Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
Date: Sun, 05 Nov 2006 19:22:27 -0500
From: "Alejandro R. Sedeno" <asedeno@MIT.EDU>
Reply-To: dirty-owl-hackers@MIT.EDU
To: dirty-owl-hackers@mit.edu
In-Reply-To: <tslu01debpc.fsf@cz.mit.edu>
I like the distinction between perl/lib and perl/modules.
Not reloading things under lib seems fine to me, as we shouldn't be
changing things in there at run time. The owl modules are more
interesting, they should be more dynamic for now, and should probably
always get reloaded during the reload operation. I'm not making any
distinction between libs and modules for user or system yet.
Remember that since our jabber state is entirely in perl, throwing away
the interpreter will kill all our jabber connections. I've tried to make
jabber.pl more clever about reloads; it doesn't discard state, or close
connections on reload, only on shutdown. I believe maintaining that
capability will be useful; If we'd lose that by transitioning these
pseudo-modules into perl modules, perhaps we should consider not doing so.
-Alejandro