-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove cache warmer, fix bugs, improve crawler
* Control of disk cache warming now moved to an improved implementation in the Collector (so can be toggled on and off during backups) * Fixed dereferencing bug in the systems API endpoint when attempting to look up a system that could not be found * Improved the crawler to make it easier to run performance tests against a local instance
- Loading branch information
1 parent
986b20e
commit 7954abf
Showing
8 changed files
with
22 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
const crawler = require('../lib/crawler') | ||
;(async () => { | ||
await crawler() | ||
const baseUrl = process.env.NODE_ENV === 'development' ? 'http://localhost:3001/api' : undefined | ||
await crawler(baseUrl) | ||
process.exit() | ||
})() |
This file was deleted.
Oops, something went wrong.