1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-30 23:44:55 +02:00

Server: Added item owner ID, and allow disabling db auto-migrations

This commit is contained in:
Laurent Cozic
2021-10-27 16:18:42 +01:00
parent 0ada1dfb46
commit b655f2780f
9 changed files with 107 additions and 55 deletions

View File

@ -90,12 +90,12 @@ const main = async () => {
// run the scripts (faster)
await execCommand2(['npm', 'run', 'build']);
const focusUserNum = 400;
const focusUserNum = 0;
while (true) {
let userNum = randomInt(minUserNum, maxUserNum);
if (Math.random() >= .7) userNum = focusUserNum;
if (focusUserNum && Math.random() >= .7) userNum = focusUserNum;
void processUser(userNum);
await waitForProcessing(10);