-
Notifications
You must be signed in to change notification settings - Fork 519
fix: Fix BasicCrawler statistics persistence
#1490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
7dd0f66
f3b9812
3a28d42
ebc350d
52daca0
b2b4724
675dadf
37f6473
00e65ec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,10 +41,10 @@ async def test_storage_not_persisted_when_disabled(tmp_path: Path, server_url: U | |
| ) | ||
| storage_client = MemoryStorageClient() | ||
|
|
||
| crawler = HttpCrawler( | ||
| configuration=configuration, | ||
| storage_client=storage_client, | ||
| ) | ||
| service_locator.set_configuration(configuration) | ||
| service_locator.set_storage_client(storage_client) | ||
|
|
||
| crawler = HttpCrawler() | ||
|
||
|
|
||
| @crawler.router.default_handler | ||
| async def default_handler(context: HttpCrawlingContext) -> None: | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.