Skip to content

Commit d924892

Browse files
Gc start on script (#229)
* add a new script * include close io * ensure io .close * add gc start --------- Co-authored-by: Drew Proebstel <dproebstel@codeforamerica.org>
1 parent 4dc2a82 commit d924892

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

script/attach_submission_pdfs.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ class AttachSubmissionPdfs < Thor
55

66
desc "attach MAPPING_JSON_KEY BUCKET_NAME", "Attach PDFs from S3 to StateFileArchivedIntakes"
77
def attach(mapping_json_key, bucket_name)
8+
GC.start
89
mappings = load_mappings_from_s3(mapping_json_key, bucket_name)
910

1011
attached_count = 0

0 commit comments

Comments
 (0)