Skip to content

indexer can get trapped in an infinite loop if it encounters any db error when saving to the search table #26

@wluo

Description

@wluo

during indexing, if any db error occurs and bcms cannot save new results to the search table, it will get stuck in a loop trying to save the same batch of post content rows. the fix is to check the return value of $wpdb->get_results() in bCMS_Search::reindex() (see https://github.com/misterbisson/bcms/blob/master/components/class-bcms-search.php#L227)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions