Commanding Chaos for Coworking, Open Source and Creative Communities

Error message

  • Deprecated function: session_set_save_handler(): Providing individual callbacks instead of an object implementing SessionHandlerInterface is deprecated in drupal_session_initialize() (line 245 of includes/session.inc).
  • Deprecated function: Creation of dynamic property alpha_theme_container::$delta is deprecated in alpha_theme_container->__construct() (line 25 of sites/all/themes/contrib/omega/alpha/includes/base.inc).

saitanay/force_fct · GitHub

Tue, 12/02/2014 - 14:14 -- rprice

This module provides a Drush Command to delete expired cache_form entries. This drush command is meant to be configured as a cron tab to take care of purging cache_form table. Usage: drush ffct : Deletes expired cache_form entries. Limits to 1000 by default. drush ffct 2500 : Deletes 2500 expired cache_form entries. FAQ: 1) But there is already safe_cache_form_clear module. Why this one? Because safe_cache_form_clear module does NOT build the query in the most optimal way. Due to limitations with using subqueries on Drupal DB API, the module builds a list of cids and adds an IN clause on the query appending the huge list. Say if you are purging 40K entries, the resultant query will be 2.6 Million characters long!!