Added config for apr.
Fix for extra CPU consumption.