feat(config): p2p replication client and server separate for performance optimization

This commit is contained in:
Alexey Kasyanchuk
2018-07-02 04:48:28 +03:00
parent 352213ae0e
commit f8c6a401bc
8 changed files with 73 additions and 42 deletions

View File

@ -67,7 +67,7 @@ describe("sphinx", () => {
for(let i = 0; i < 500; i++)
promises.push(sphinx.query(`insert into feed(id, data) values(${i}, 'a')`))
Promise.all(promises).then(() => {
sphinx.query(`delete from feed where id >= 0`, () => done())
sphinx.query(`delete from feed where id >= 0`, () => done())
})
})
})