понедельник, 2 апреля 2012 г.

RangeError (exceeded available parameter key space) error

Today I've got strange error on production - RangeError (exceeded available parameter key space)
This exception raises when users want to submit big post data, you can read more on github issue - https://github.com/rack/rack/issues/318

So, good decision to avoid and fix this problem is set parameter
Rack::Utils.key_space_limit = 123456789 (bigger value, I've selected 123456789).
This did the trick.

Комментариев нет:

Отправить комментарий