Skip to content

Add job throttle #40

Merged
merged 5 commits into from
Nov 29, 2021
Merged

Add job throttle #40

merged 5 commits into from
Nov 29, 2021

Conversation

PDmatrix
Copy link

Addresses #39

return false;
}

private TimeSpan GetNextIntervalStartJob(TimeSpan currentInterval)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please, create unit tests on this function with same cases

@codecov-io
Copy link

Codecov Report

Merging #40 into master will increase coverage by 0.78%.
The diff coverage is 83.78%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #40      +/-   ##
==========================================
+ Coverage   60.68%   61.46%   +0.78%     
==========================================
  Files          30       31       +1     
  Lines         852      885      +33     
==========================================
+ Hits          517      544      +27     
- Misses        335      341       +6     
Impacted Files Coverage Δ
src/Horarium/Handlers/RunnerJobs.cs 78.78% <81.25%> (-0.09%) ⬇️
src/Horarium/HorariumSettings.cs 100.00% <100.00%> (ø)
src/Horarium/JobThrottleSettings.cs 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 99858b7...31f5d89. Read the comment docs.

@ZOXEXIVO ZOXEXIVO merged commit d58a7cc into Tinkoff:master Nov 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants