jonoxia / pencilbox

An open-source touchscreen-enabled HTML5 comic drawing app with a UI that doesn't suck
8 stars 0 forks source link

Large history gets truncated #19

Open jonoxia opened 13 years ago

jonoxia commented 13 years ago

Very large history json is truncated; the latter part is missing from database. (either b/c of maximum POST data size or because of database limit?) (but I've seen this happen even when we were around 100k of post data so I don't think it's the 8MB POST limit... what is it, then?)

jonoxia commented 13 years ago

Note that one of the largest causes of history json bloat is the data URLs inside PlopBitmapActions (paint bucket fills, selection drops, image imports). We should be sticking that image data into snippet files on the server instead of data-URL encoding it.