Increase max indexer limit per instance

This commit is contained in:
Chocobozzz 2020-07-23 13:47:23 +02:00
parent fe65fa2f6e
commit f6be943deb
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ $ yarn install --pure-lockfile
The database (Elastic Search) is automatically created by PeerTube on startup.
Then run simultaneously (for example with 2 terminals):
Run simultaneously (for example with 2 terminals):
```terminal
$ tsc -w

View File

@ -108,7 +108,7 @@ export class VideosIndexer extends AbstractScheduler {
channelsId.add(video.channel.id)
videosId.add(video.id)
}
} while (videos.length === INDEXER_COUNT.VIDEOS && start < 100000)
} while (videos.length === INDEXER_COUNT.VIDEOS && start < 500000)
logger.info('Added video data from %s.', host)