Skip to content

Commit

Permalink
Set crawler default schedule to 24 hours (#136668)
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron Hulcher authored Jul 20, 2022
1 parent aec5dc9 commit 46697d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ describe('AutomaticCrawlSchedulerLogic', () => {

expect(AutomaticCrawlSchedulerLogic.values).toEqual({
crawlAutomatically: false,
crawlFrequency: 7,
crawlUnit: CrawlUnits.days,
crawlFrequency: 24,
crawlUnit: CrawlUnits.hours,
isSubmitting: false,
});
});
Expand All @@ -51,8 +51,8 @@ describe('AutomaticCrawlSchedulerLogic', () => {

expect(AutomaticCrawlSchedulerLogic.values).toMatchObject({
crawlAutomatically: false,
crawlFrequency: 7,
crawlUnit: CrawlUnits.days,
crawlFrequency: 24,
crawlUnit: CrawlUnits.hours,
});
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export interface AutomaticCrawlSchedulerLogicValues {
}

const DEFAULT_VALUES: Pick<AutomaticCrawlSchedulerLogicValues, 'crawlFrequency' | 'crawlUnit'> = {
crawlFrequency: 7,
crawlUnit: CrawlUnits.days,
crawlFrequency: 24,
crawlUnit: CrawlUnits.hours,
};

export interface AutomaticCrawlSchedulerLogicActions {
Expand Down

0 comments on commit 46697d5

Please sign in to comment.