Skip to content

Commit

Permalink
Increase content-max-length to 10k
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Sep 30, 2022
1 parent 29c1173 commit 937a22c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/frontend/state.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ Similar to re-frame subscriptions"

(defn block-content-max-length
[repo]
(or (:block/content-max-length (sub-config repo)) 5000))
(or (:block/content-max-length (sub-config repo)) 10000))

(defn mobile?
[]
Expand Down
2 changes: 1 addition & 1 deletion templates/config.edn
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@

;; Block content larger than `block/content-max-length` will not be searchable
;; or editable for performance.
:block/content-max-length 5000
:block/content-max-length 10000

;; Whether to show command doc on hover
:ui/show-command-doc? true
Expand Down

0 comments on commit 937a22c

Please sign in to comment.