tarantool icon indicating copy to clipboard operation
tarantool copied to clipboard

Unclear error if decimal is passed into box.cfg

Open olegrok opened this issue 4 years ago • 0 comments

Tarantool 2.8.2

tarantool> box.cfg{iproto_threads = require('decimal').new(2)}
---
- error: 'builtin/box/load_cfg.lua:19: builtin/box/load_cfg.lua:512: incorrect value
    to convert to decimal as 2 argument'
...

tarantool> box.cfg{memtx_memory = require('decimal').new(2)}
---
- error: 'builtin/box/load_cfg.lua:19: builtin/box/load_cfg.lua:512: incorrect value
    to convert to decimal as 2 argument'
...

olegrok avatar Aug 24 '21 17:08 olegrok