gandres / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

LocalDB MAX_VALUE_LENGTH problem #420

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
If I restart PWM, PWM tries to send a startup alert via e-mail. This fails 
however with the following error:

ERROR, queue.EmailQueueManager, error writing to LocalDB queue, discarding 
email send request: value length 244615 is greater than max 102400 for 
transaction record: '000000'

src/password/pwm/util/localdb/LocalDB.java contains the the maximum values for 
both key and value. I'm not sure whether I can make those numbers bigger 
without facing application issues (i.e. functionality and/ or performance).

App version is latest build from trunk

Original issue reported on code.google.com by sebastia...@gmail.com on 5 Jul 2013 at 12:33

GoogleCodeExporter commented 9 years ago
Is this something specific to my large HTML emails or should we fix this for 
1.7.0 final?

Original comment by sebastia...@gmail.com on 25 Aug 2013 at 6:05

GoogleCodeExporter commented 9 years ago
Seems specific to your large emails..  We'll look at it right after 1.7.0.  We 
can also try compressing the email blob before storing in db which should save 
a lot of space.  You can probably make the max value bigger without breaking 
anything but it will require a good amount of testing to be sure.

Original comment by jrivard on 26 Aug 2013 at 6:58