-
Notifications
You must be signed in to change notification settings - Fork 3
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
Reverse jobstats HTTP param behavior #78
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #78 +/- ##
==========================================
- Coverage 91.73% 91.71% -0.03%
==========================================
Files 41 41
Lines 5228 5225 -3
Branches 5228 5225 -3
==========================================
- Hits 4796 4792 -4
+ Misses 397 394 -3
- Partials 35 39 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Benchmark for 4a23da2Click to view benchmark
|
lustrefs-exporter/src/main.rs
Outdated
// Only disable jobstats if "jobstats=false" | ||
#[serde(default = "default_as_true")] | ||
// Only enable jobstats if "jobstats=true" | ||
#[serde(default = "default_as_false")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#[serde(default = "default_as_false")] | |
#[serde(default)] |
Default is false.
Benchmark for 533b77dClick to view benchmark
|
Benchmark for 0873f33Click to view benchmark
|
Reverse the behavior of the "jobstats" HTTP param.
0
means no jobstats are shown/processed