diff --git a/doc/tips/automatically_adding_metadata/comment_12_92c28dee004562d7085191f3b9e29fec._comment b/doc/tips/automatically_adding_metadata/comment_12_92c28dee004562d7085191f3b9e29fec._comment new file mode 100644 index 0000000000..5d9ba60c9b --- /dev/null +++ b/doc/tips/automatically_adding_metadata/comment_12_92c28dee004562d7085191f3b9e29fec._comment @@ -0,0 +1,15 @@ +[[!comment format=mdwn + username="aurelf" + avatar="http://cdn.libravatar.org/avatar/99aa02fcf7f5a1453b1e2528f2f543ac" + subject="Automatically adding metadata can be very slow " + date="2021-09-03T12:46:06Z" + content=""" +Running extract on very large files (system backups) can be too long (killed it after running several hours). +In general `extract` seem slow on tar.gz archives. + +I added `timeout 100s` before the tool is called in the pre commit script: + +`LC_ALL=C timeout 100s $tool_exec \"./$f\" | ...` + +This allows to have the commit to complete in reasonable time, probably loosing some metadata. +"""]]