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

Randomize consent check interval (follow rfc7675). #270

Merged
merged 2 commits into from
Aug 23, 2023

Conversation

bgrozev
Copy link
Member

@bgrozev bgrozev commented Aug 23, 2023

No description provided.

@codecov
Copy link

codecov bot commented Aug 23, 2023

Codecov Report

Merging #270 (02bcd60) into master (a947919) will decrease coverage by 0.11%.
The diff coverage is 66.66%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #270      +/-   ##
============================================
- Coverage     39.17%   39.06%   -0.11%     
+ Complexity     1387     1377      -10     
============================================
  Files           178      178              
  Lines         12247    12255       +8     
  Branches       1872     1873       +1     
============================================
- Hits           4798     4788      -10     
- Misses         6807     6815       +8     
- Partials        642      652      +10     
Files Changed Coverage Δ
src/main/java/org/ice4j/ice/Agent.java 54.88% <50.00%> (-1.24%) ⬇️
src/main/kotlin/org/ice4j/ice/AgentConfig.kt 100.00% <100.00%> (ø)

... and 11 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

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

@@ -129,6 +129,8 @@ public void run()
private final Map<String, IceMediaStream> mediaStreams
= new LinkedHashMap<>();

SecureRandom random = new SecureRandom();
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this needs SecureRandom; ThreadLocalRandom.current() should be fine.

@bgrozev bgrozev merged commit 9fe2d69 into jitsi:master Aug 23, 2023
4 of 5 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.

2 participants