iproto: add check for user input of the number of iproto threads
At the moment, user can set any number of iproto threads, which leads to incorrect behavior if the specified number of threads is less than or equal to zero or too large. Added check for user input of the number of iproto threads - value must be > 0 and less than or equal to 1000. Closes #6005 @TarantoolBot document Title: Add check for user input of the number of iproto threads Added check for user input of the number of iproto threads - value must be > 0 and less than or equal to 1000.
Showing
- changelogs/unreleased/add-check-for-user-input-of-the-number-of-iproto-threads.md 4 additions, 0 deletions...d-check-for-user-input-of-the-number-of-iproto-threads.md
- src/box/box.cc 20 additions, 0 deletionssrc/box/box.cc
- test/box/gh-5645-several-iproto-threads.lua 7 additions, 2 deletionstest/box/gh-5645-several-iproto-threads.lua
- test/box/gh-5645-several-iproto-threads.result 33 additions, 1 deletiontest/box/gh-5645-several-iproto-threads.result
- test/box/gh-5645-several-iproto-threads.test.lua 11 additions, 1 deletiontest/box/gh-5645-several-iproto-threads.test.lua
Loading
Please register or sign in to comment