On Sun, 2009-02-15 at 15:29 +0100, Duncan Webb wrote: > Sorry, a typo, should have been ~20 msecs.
Do you still feel that's too slow? > When the recordserver is down the exception AsyncException is raised; is > it okay to import kaa.async so that the exception can be trapped? > > It doesn't seem the usual way to get a exception class. The only time you should need to import kaa.async for AsyncException is when you want to subclass it. AsyncException objects behave like the underlying exception they wrap. So if you have an AsyncException that wraps a KeyError exception, you can catch KeyError. > File "/usr/lib/python2.6/site-packages/kaa/main.py", line 301, in > signal_handler > notifier.shutdown() > File "/usr/lib/python2.6/site-packages/kaa/nf_wrapper.py", line 134, > in shutdown > sys.exit(0) > exceptions.SystemExit: 0 I guess signal_handler() in main.py should catch and ignore SystemExit and KeyboardInterrupt. dischi what do you think? ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel