Skip to content

Conversation

@Firstsawyou
Copy link
Contributor

What this PR does / why we need it:

Signed-off-by: Firstsawyou yuelinz99@gmail.com

When apisix is ​​in make run, it will prompt the following warning message:

$ 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:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • 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 first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants