mirror of
https://github.com/webrecorder/browsertrix-crawler.git
synced 2025-10-19 14:33:17 +00:00
regression fix: start redis if needed before attempting to init state! (#819)
bump to 1.6.0-beta.1
This commit is contained in:
parent
c796996664
commit
f2dac05577
2 changed files with 3 additions and 3 deletions
|
@ -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",
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue