[dw-free] Comment importer should exit to reclaim memory
[commit: http://hg.dwscoalition.org/dw-free/rev/7e75b63eb1d9]
Comment importer should exit to reclaim memory
Patch by
mark.
Files modified:
Comment importer should exit to reclaim memory
Patch by
Files modified:
- cgi-bin/DW/Worker/ContentImporter/LiveJournal/Comments.pm
--------------------------------------------------------------------------------
diff -r 906a190f66f5 -r 7e75b63eb1d9 cgi-bin/DW/Worker/ContentImporter/LiveJournal/Comments.pm
--- a/cgi-bin/DW/Worker/ContentImporter/LiveJournal/Comments.pm Tue Mar 13 20:07:54 2012 +0000
+++ b/cgi-bin/DW/Worker/ContentImporter/LiveJournal/Comments.pm Tue Mar 13 22:15:34 2012 +0000
@@ -70,6 +70,9 @@
return $class->temp_fail( $data, 'lj_comments', $job, 'Failure running job: %s', $msg );
}
+
+ # FIXME: We leak memory, so exit to reclaim it. Hack.
+ exit 0;
}
sub new_comment {
--------------------------------------------------------------------------------
