regression fix: start redis if needed before attempting to init state! (#819)

bump to 1.6.0-beta.1
This commit is contained in:
Ilya Kreymer 2025-04-09 21:37:46 +02:00 committed by GitHub
parent c796996664
commit f2dac05577
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"name": "browsertrix-crawler",
"version": "1.6.0-beta.0",
"version": "1.6.0-beta.1",
"main": "browsertrix-crawler",
"type": "module",
"repository": "https://github.com/webrecorder/browsertrix-crawler",

View file

@ -476,8 +476,6 @@ export class Crawler {
}
async bootstrap() {
await this.initCrawlState();
if (await isDiskFull(this.params.cwd)) {
logger.fatal(
"Out of disk space, exiting",
@ -498,6 +496,8 @@ export class Crawler {
subprocesses.push(this.launchRedis());
}
await this.initCrawlState();
await fsp.mkdir(this.logDir, { recursive: true });
if (!this.params.dryRun) {