Skip to content
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

Clear stats on save #119

Merged
merged 1 commit into from
Jun 1, 2024
Merged

Clear stats on save #119

merged 1 commit into from
Jun 1, 2024

Conversation

Jerboa-app
Copy link
Contributor

Document and test IpThrottler

Fix bug where stats saving schedule was set to digest schedule

Closes #118

Document and test IpThrottler

Fix bug where stats saving schedule was set to digest schedule
@BurrowBot
Copy link

Looks like you increased coverage by 2.22 %, fantastic!
Here is the full report breakdown

Total coverage 58.11 % (+2.22 % against main)
________________________________
src/integrations/git/refresh.rs  | 0.0   % 0 / 33
src/main.rs                      | 0.0   % 0 / 56
src/server/api/stats.rs          | 0.0   % 0 / 78
src/server/http.rs               | 0.0   % 0 / 20
src/server/https.rs              | 5.97  % 4 / 67
src/server/stats/mod.rs          | 30.36 % 17 / 56
src/lib.rs                       | 42.11 % 8 / 19
src/server/stats/hits.rs         | 45.68 % 37 / 81
src/server/throttle.rs           | 61.22 % 30 / 49
src/integrations/discord/post.rs | 62.5  % 10 / 16
src/server/stats/digest.rs       | 69.66 % 62 / 89
src/content/mod.rs               | 72.73 % 80 / 110
src/task/mod.rs                  | 74.14 % 43 / 58
src/filesystem/folder.rs         | 75.56 % 34 / 45
src/integrations/mod.rs          | 76.47 % 26 / 34
src/integrations/git/mod.rs      | 78.79 % 52 / 66
src/server/stats/file.rs         | 79.31 % 23 / 29
src/filesystem/file.rs           | 79.41 % 27 / 34
src/content/sitemap.rs           | 80.0  % 148 / 185
src/filesystem/mod.rs            | 80.0  % 8 / 10
src/util.rs                      | 83.91 % 73 / 87
src/config.rs                    | 87.5  % 35 / 40
src/content/filter.rs            | 100.0 % 5 / 5
src/content/mime_type.rs         | 100.0 % 31 / 31
src/integrations/webhook.rs      | 100.0 % 3 / 3
________________________________

@Jerboa-app Jerboa-app merged commit 51ec7d2 into main Jun 1, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory not freed, stats saving wrong schedule
2 participants