Added configuration option for optimizing api_daemon performance