Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
dcadenas committed Sep 3, 2024
1 parent 1b03fcf commit f6e7a8d
Show file tree
Hide file tree
Showing 9 changed files with 127 additions and 173 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: >-
-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code
-Zprofile -Ccodegen-units=1 -Cllvm-args=--inline-threshold=0 -Clink-dead-code
-Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests
RUSTDOCFLAGS: >-
-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code
-Zprofile -Ccodegen-units=1 -Cllvm-args=--inline-threshold=0 -Clink-dead-code
-Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests
- name: Gather coverage data
Expand Down
1 change: 0 additions & 1 deletion config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ followers:
google_project_id: "pub-verse-app"
google_topic: "follow-changes"
seconds_threshold: 60
size_threshold: 5000
followers_per_hour_before_rate_limit: 2
max_retention_minutes: 60
1 change: 0 additions & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ pub struct Settings {
pub google_project_id: String,
pub google_topic: String,
pub seconds_threshold: u64,
pub size_threshold: usize,
pub followers_per_hour_before_rate_limit: u32,
pub max_retention_minutes: i64,
}
Expand Down
Loading

0 comments on commit f6e7a8d

Please sign in to comment.