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

Re-ordering Swarm<T>.StartAsync() #424

Merged
merged 1 commit into from
Aug 12, 2019

Conversation

longfin
Copy link
Member

@longfin longfin commented Aug 11, 2019

This PR adjusts the order of processes in Swarm<T>.StartAsync() to avoid disabling TURN allocation even if Swarm<T>.PreloadAsync() takes a long time.

- Listen → (NAT check & set Endpoint & run TURN tasks) → preload → run & wait other tasks (+1 squashed commits)
@codecov
Copy link

codecov bot commented Aug 11, 2019

Codecov Report

Merging #424 into master will increase coverage by 0.05%.
The diff coverage is 76.19%.

@@            Coverage Diff             @@
##           master     #424      +/-   ##
==========================================
+ Coverage   88.16%   88.22%   +0.05%     
==========================================
  Files         198      198              
  Lines       14230    14221       -9     
==========================================
  Hits        12546    12546              
+ Misses       1373     1364       -9     
  Partials      311      311
Impacted Files Coverage Δ
Libplanet/Net/Swarm.cs 78.91% <76.19%> (+0.48%) ⬆️

@longfin longfin marked this pull request as ready for review August 12, 2019 04:19
@longfin longfin requested review from dahlia, earlbread, limebell and moreal and removed request for dahlia August 12, 2019 04:19
@longfin longfin merged commit 0287ac9 into planetarium:master Aug 12, 2019
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.

3 participants