From a9c8989f024a4bf0b8a4b7044f78a1ba4284a902 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Tue, 8 Mar 2016 21:12:44 +0100 Subject: [PATCH] Removing unnecesary flush and gc collects from export task --- taiga/export_import/service.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/taiga/export_import/service.py b/taiga/export_import/service.py index f4f5326d..9a739604 100644 --- a/taiga/export_import/service.py +++ b/taiga/export_import/service.py @@ -144,8 +144,6 @@ def render_project(project, outfile, chunk_size = 8190): dumped_value = json.dumps(serializers.TimelineExportSerializer(timeline_item).data) outfile.write(dumped_value) - outfile.flush() - gc.collect() outfile.write(']}\n')