[RADIATOR] DB connections in hook code?
JWatkins at acninc.com
Wed Dec 21 13:41:34 CST 2011
-----BEGIN PGP SIGNED MESSAGE-----
I'm new to Radiator and am working on my first set of hook code to evaluate it for a project. I'm taking in call detail records via radius.. enriching them in the PostProcessingHook through a Handler and then storing some of them in a sql database.
My question is about the environment the hook code runs in. I know Radiator is multi-threaded... if I open a DB connection within a hook does that connection remain persistent between calls or is it closed and reopened for every packet? Is the handle shared between threads etc?
I didn't see anything in the pdf doc that speaks to these sorts of questions.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
-----END PGP SIGNATURE-----
More information about the radiator