[Dovecot] Developing new Dspam Plugin
Timo Sirainen
tss at iki.fi
Mon Jun 26 11:41:57 EEST 2006
On Jun 26, 2006, at 9:21 AM, Johannes Berg wrote:
> Also, you should lazily init the mysql connection and then either
> close
> it, or keep it open and re-use it, currently you don't close it but
> re-init the mysql context and reconnect, that's probably going to
> create
> a bunch of stale connections to the database.
Or would lib-dict's API be enough? Then you can make the connections
go through dict proxy process which keeps the MySQL connections open
all the time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060626/84dcf4ab/PGP-0001.pgp
More information about the dovecot
mailing list