docbuilder key size reduced to 20 characters

This commit is contained in:
Sergey Konovalov
2017-11-14 14:22:23 +03:00
parent bc6ea03189
commit dced663e9e

View File

@ -311,7 +311,7 @@ function builderRequest(req, res) {
cmd.setIsBuilder(true);
cmd.setDocId(docId);
if (!docId) {
let task = yield* taskResult.addRandomKeyTask(undefined, 'bldr_', 16);
let task = yield* taskResult.addRandomKeyTask(undefined, 'bld_', 8);
docId = task.key;
cmd.setDocId(docId);
if (params.url) {