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?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Albert Volkman’s picture

Status: Active » Needs review
FileSize
1.32 KB

Here's a simple patch to add form settings.

Steven Jones’s picture

Status: Needs review » Closed (works as designed)

Sorry, 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.

citricguy’s picture

Issue summary: View changes

Should 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. :)