Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Within views_data_export_garbage_collect(), there's an option to set how long an export cache table should be viable via the variable 'views_data_export_gc_expires'. However, I don't see any way of setting that short of manually creating the variable. Am I not seeing it or is this something that should be added?
Comment | File | Size | Author |
---|---|---|---|
#1 | garbage_collection-1911196-1.patch | 1.32 KB | Albert Volkman |
Comments
Comment #1
Albert Volkman CreditAttribution: Albert Volkman commentedHere's a simple patch to add form settings.
Comment #2
Steven Jones CreditAttribution: Steven Jones commentedSorry, but this is basically a way for interested parties to change the garbage collection lifetime, without hacking the module. I don't think we need a UI on changing this variable, it's basically only for people who would know how to set a 'hidden' variable anyway.
Comment #3
citricguy CreditAttribution: citricguy commentedShould there be any issues with setting this to 5 min rather than 1 week? (Other than requiring that the file is downloaded within 5 minutes of being exported.) I would prefer to get data off the server asap after export but don't any unexpected surprises. :)