Forum OpenACS Q&A: cr_write_content ignores UseBackGroundDeliveryP flag
Ad_returnfile_background is installed as part of xotcl-core.
I added code to my local copy in order to permit disabling of background delivery without the need to remove xotcl-core using [parameter::get_from_package_key -package_key acs-kernel -boolean -parameter UseBackgroundDeliveryP -default 0] to get the value of the parameter.
Is this the best way to go about this?
I was not aware about the flag UseBackGroundDeliveryP, and did some history mining. The flag was introduced by Mannheim in 5.2 (as parameter with code in revision_procs), but then the changes were reverted soon after that, but whoever did the revert missed the flag in the kernel parameters.
It is better to deactivate background delivery automatically in cases where it is known not to work, than to depend on an admin deactivating it manually.
i have made this fix in cvs head, oacs-5-4 and oacs-5-3.
Thanks for the speedy response. I'll grab your fix from CVS.