summaryrefslogtreecommitdiffstats
path: root/store
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-12-03 11:57:20 -0500
committerJoramWilander <jwawilander@gmail.com>2015-12-03 11:57:20 -0500
commitcc111205f9c6cb152ca87f68c0a2f7aa519fdf59 (patch)
tree40e269234064d120e818ac48a2a3045bafb0c151 /store
parent61f90860a875cbf019570dfbb06ba716a7994fc3 (diff)
downloadchat-cc111205f9c6cb152ca87f68c0a2f7aa519fdf59.tar.gz
chat-cc111205f9c6cb152ca87f68c0a2f7aa519fdf59.tar.bz2
chat-cc111205f9c6cb152ca87f68c0a2f7aa519fdf59.zip
Add limit to Props size in Post table
Diffstat (limited to 'store')
-rw-r--r--store/sql_post_store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_post_store.go b/store/sql_post_store.go
index 1831eb23c..9db5806c5 100644
--- a/store/sql_post_store.go
+++ b/store/sql_post_store.go
@@ -30,7 +30,7 @@ func NewSqlPostStore(sqlStore *SqlStore) PostStore {
table.ColMap("Message").SetMaxSize(4000)
table.ColMap("Type").SetMaxSize(26)
table.ColMap("Hashtags").SetMaxSize(1000)
- table.ColMap("Props")
+ table.ColMap("Props").SetMaxSize(8000)
table.ColMap("Filenames").SetMaxSize(4000)
}