You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/05/31 08:39:35 UTC

[GitHub] [apisix] Firstsawyou opened a new pull request #4344: feat: support custom variables_hash_max_size parameters in config.yaml

Firstsawyou opened a new pull request #4344:
URL: https://github.com/apache/apisix/pull/4344


   ### What this PR does / why we need it:
   <!--- Why is this change required? What problem does it solve? -->
   <!--- If it fixes an open issue, please link to the issue here. -->
   
   Signed-off-by: Firstsawyou yuelinz99@gmail.com
   
   When apisix is ​​in `make run`, it will prompt the following warning message:
   
   ```shell
   $ make run
   ./bin/apisix start
   /usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua start
   nginx: [warn] could not build optimal variables_hash, you should increase either variables_hash_max_size: 1024 or variables_hash_bucket_size: 64; ignoring variables_hash_bucket_size
   ```
   
   Therefore, this PR will add the `variables_hash_max_size` parameter to solve the above warning problem.
   Since the value of `variables_hash_max_size: 1024` is not enough, set `variables_hash_max_size: 2048`
   
   ### Pre-submission checklist:
   
   * [x] Did you explain what problem does this PR solve? Or what new features have been added?
   * [x] Have you added corresponding test cases?
   * [ ] Have you modified the corresponding document?
   * [ ] Is this PR backward compatible? **If it is not backward compatible, please discuss on the [mailing list](https://github.com/apache/apisix/tree/master#community) first**
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tokers merged pull request #4344: feat: support custom variables_hash_max_size parameters in config.yaml

Posted by GitBox <gi...@apache.org>.
tokers merged pull request #4344:
URL: https://github.com/apache/apisix/pull/4344


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org