]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__.mdwn
filecheck: Fix bug that prevented File::MimeInfo::Magic from ever being used.
[ikiwiki.git] / doc / bugs / Slow_Filecheck_attachments___34__snails_it_all__34__.mdwn
index 1f68acc4176de2218e4268adf905bf50bb79ecec..e93f4e5460392ae3ab5bb45d58b8eb05d8983ebd 100644 (file)
@@ -3,7 +3,7 @@ Saving a wiki page in ikwiki or
 
 I profiled ikiwiki with [[!cpan Devel::SmallProf]] : see [[users/mathdesc]] for details.
 
-And I came to the conclusion that filecheck on attachment was the only cause.
+And I came to the conclusion that [[plugins/filecheck]] on attachment was the only cause.
 It always go the fallback code using time-consuming file even there it's look like it's
 not successful. 
 
@@ -37,4 +37,11 @@ not successful.
         }        
 </pre>
 
+I found on [[plugins/filecheck/discussion/]] what [[users/DavidBremner/]] described as :
+> no way to detect text/plain using File::MimeInfo::Magic::magic()
+But I can't figure out if my issue is boarder and includes this or not.. 
+
 Any ideas , solve :) more that welcome.
+
+> [[done]], as isbear noted in [[discussion]], there was a bug that
+> prevented File::MimeInfo::Magic from ever being used. --[[Joey]]