Skip to content
Snippets Groups Projects

Don't store full extracted file content data in the database

Closes #3084967

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Frank Mably
  • added 1 commit

    Compare with previous version

  • Frank Mably
  • added 1 commit

    • 8590cd10 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • @berdir it looks like the following hook needs an update too:

    /**
     * Implements hook_cache_flush().
     */
    function search_api_attachments_cache_flush() {
      $config = \Drupal::config('search_api_attachments.admin_config');
      $preserve_cache = $config->get('preserve_cache');
      if (!$preserve_cache) {
        $collection = 'search_api_attachments';
        \Drupal::keyValue($collection)->deleteAll();
      }
    }

    The clearAll when the cache_backend config option is modified works fine though.

    Edited by Frank Mably
  • Frank Mably
  • Frank Mably
  • added 1 commit

    • bdd92137 - cleanup, fixes, scheme configuration instead of path

    Compare with previous version

  • Eric Smith
  • Eric Smith
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading