applied to cvs.

Am 17.10.2006, 18:20 Uhr, schrieb Alexander Malysh <[EMAIL PROTECTED]>:

Hi,

please find at https://olek.homeip.net/~alex/store-spool.patch patch that adds additinaly support for store spool directory.
I added two new config options:
'store-type' - allow us to define which type to use (file, spool)
'store-location' - allow setting either file or spool location

Option 'store-file' is deprecated but still supported with a warning that two above options should be used.
By default if no 'store-type' defined store file is used.

Advantages of the store spool is:
1) each message stored as one file, so it's easier to drop one specific message from the queue
2) no need to have queued messages twice in the memory
3) no locking required -> no race conditions as is the case for store file
4) some other that I don't know yet :)

Please test it and give me feedback.

Note: you should use store spool on the drive with jurnaled filesystem otherwise it's really slow (best results I reached with reiserfs).

Note2: I was unable to upload patch to kannel.org so if my devel machine not reachable don't worry just retry later.




--
Thanks,
Alex


Reply via email to