(RADIATOR) PostAuthHook and DB connection

S H A N shanali at magix.com.sg
Fri Sep 26 05:44:30 CDT 2003


hi,
	i am trying to think of a method where i can avoid 

	connect to db
		do something...
	disconnect from db

	each time one of my hook gets processing in a radius operation for each
	postauth request. (so if it handles 100k packets it means that i does
	100k times connect to db and 100k times of disconnect!)

	ideally i want..

	to connect to db... (at the point of startup of radius)

		keep on doing something without disconnecting/connecting again
	        till the life of the radius session/process.

	any suggestions?
	
S H A N
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list