Closed (outdated)
Project:
Feeds
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jul 2010 at 19:47 UTC
Updated:
16 Jun 2016 at 21:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
meatbag commented+1
It seems that Feeds create one file for each feed that you have.
So, if you have 15 feeds, you will get 15 extra files per cron run.
Comment #2
alex_b commentedExactly.
Comment #3
alex_b commentedThis patch could just do the trick. Completely untested. Please review and adjust.
Comment #4
meatbag commentedReviewed. No more files.
Comment #5
meatbag commentedNo more files by pshb-disabled importers.
But I am still getting extra files generated by pshb-enabled importers.
Comment #6
michellezeedru commentedSubscribing. I don't know the difference between the types of files mentioned by meatbag, but I applied the patch, and am still getting files like feedsFeedsHTTPBatch_022bb7177f5ec91466903787934530ee_1282599902 saved in sites/default/files.
Comment #7
meatbag commentedComment #8
michellezeedru commentedHold on, it does appear to be working now. I reapplied the patch - apparently I didn't do something right the first time. And so far, all files are getting deleted after the import. Sorry for the premature feedback - thanks!
Setting back to "needs work", the status before I filed my feedback.
Comment #9
alex_b commented#5: that's right, the afterImport() implementation should be on the FeedsImportBatch level. We should also declare $file_path in FeedsImportBatch.
Comment #10
beregon87 commentedThis patch doesn't work for me.
Comment #11
geerlingguy commentedDoesn't seem to work for me either. I have a folder that's grown to 88 MB in about one week... on a relatively constrained site (only a few GB for the account... so after a year or two, feeds could chew up that disk space).
Comment #12
ben.hamelinApplied this patch on a test site running 6.x-1.0-beta4
Worked fine on a CSV formatted HTTP Fetch node processor.
Thanks!
bh
Comment #13
David_Rothstein commentedThis issue has a lot in common with #1143280: Provide an option to delete the uploaded file after import is done (including sharing some of the code). Does it make sense to merge them?
Comment #14
twistor commented