feat(config): p2p replication client and server separate for performance optimization
This commit is contained in:
@ -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())
|
||||
})
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user