Commit f9e2441b9cc552dc237bb72afee62293b4f513af

Thomas de Grivel 2020-03-29T18:26:07

limit file content to 1Mb

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/unix/defs.lisp b/unix/defs.lisp
index e845d66..fb32d1b 100644
--- a/unix/defs.lisp
+++ b/unix/defs.lisp
@@ -75,7 +75,7 @@
     `(:md5 :rmd160 :sha1 :sha224 :sha256 :sha384 :sha512
            ,@*cksum-legacy-algorithms*)))
 
-(defvar *probe-file-content-size-limit* 8192)
+(defvar *probe-file-content-size-limit* (* 1024 1024))
 
 (define-resource-class file (vnode)
   ()