Test_types_hash_max_size?

I change some things around in my config and now I’m getting this:

could not build the test_types_hash, you should increase either
test_types_hash_max_size: 2048 or test_types_hash_bucket_size: 64

Problem is those values are hard coded in the source it seems.

Ideas?


Brian A.

On Mar 3, 2011, at 20:42 , Akins, Brian wrote:

I change some things around in my config and now I’m getting this:

could not build the test_types_hash, you should increase either
test_types_hash_max_size: 2048 or test_types_hash_bucket_size: 64

Problem is those values are hard coded in the source it seems.

Ideas?

It should be increased to 8192. The patch attached.

On 03.03.2011, at 20:42, Akins, Brian wrote:

I change some things around in my config and now I’m getting this:

could not build the test_types_hash, you should increase either
test_types_hash_max_size: 2048 or test_types_hash_bucket_size: 64

test_types_hash is used for directives such as gzip_types, ssi_types,
etc.
2048 size means that there are about 1500-1800 elements in these
directives.
Do you really have this issue ?


Igor S.
http://sysoev.ru/en/

On 3/4/11 5:27 AM, “Igor S.” [email protected] wrote:

2048 size means that there are about 1500-1800 elements in these
directives.
Do you really have this issue ?

I don’t think so, but got an the above error. If I rearrange the config
some, it goes away. Was going to look at it some more, but haven’t had
time.


Brian A.