Skip to content

Commit

Permalink
chore(config): fix crawl budget manual set
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Aug 28, 2024
1 parent 76dcb6f commit 97f2e91
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_examples"
version = "2.1.8"
version = "2.1.9"
authors = [
"j-mendez <jeff@a11ywatch.com>",
]
Expand Down
2 changes: 1 addition & 1 deletion spider/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider"
version = "2.1.8"
version = "2.1.9"
authors = [
"j-mendez <jeff@a11ywatch.com>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider/src/website.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3991,7 +3991,7 @@ impl Website {

/// Set the crawl budget directly. This does nothing without the `budget` flag enabled.
pub fn set_crawl_budget(&mut self, budget: Option<HashMap<CaseInsensitiveString, u32>>) {
self.configuration.inner_budget = budget;
self.configuration.budget = budget;
}

/// Set a crawl depth limit. If the value is 0 there is no limit. This does nothing without the feat flag `budget` enabled.
Expand Down
2 changes: 1 addition & 1 deletion spider_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_cli"
version = "2.1.8"
version = "2.1.9"
authors = [
"j-mendez <jeff@a11ywatch.com>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider_utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_utils"
version = "2.1.8"
version = "2.1.9"
authors = [
"j-mendez <jeff@a11ywatch.com>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider_worker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_worker"
version = "2.1.8"
version = "2.1.9"
authors = [
"j-mendez <jeff@a11ywatch.com>"
]
Expand Down

0 comments on commit 97f2e91

Please sign in to comment.