The apachesolr_entity_update() function loads apachesolr.index.inc file. The comment says:

// Include the index file for the status callback

If the default status callback is not being used then there is no reason to load this file. The attached patch checks to see if the default status callback is being used before loading the file.

CommentFileSizeAuthor
check_before_loading_code.patch1.12 KBtrobey
Support from Acquia helps fund testing for Drupal Acquia logo