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

integrate with LibUV #26

Merged
merged 2 commits into from
Feb 4, 2021
Merged

integrate with LibUV #26

merged 2 commits into from
Feb 4, 2021

Conversation

vchuravy
Copy link
Member

@vchuravy vchuravy commented Feb 3, 2021

No description provided.

src/idle.jl Outdated Show resolved Hide resolved
@codecov-io
Copy link

codecov-io commented Feb 3, 2021

Codecov Report

❗ No coverage uploaded for pull request base (vc/request@dcd454a). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             vc/request      #26   +/-   ##
=============================================
  Coverage              ?   57.58%           
=============================================
  Files                 ?        6           
  Lines                 ?      488           
  Branches              ?        0           
=============================================
  Hits                  ?      281           
  Misses                ?      207           
  Partials              ?        0           

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 dcd454a...18e00ec. Read the comment docs.

end

function start_server(ch_port = Channel{Int}(1), port = default_port)
ctx = UCX.UCXContext()
worker = UCX.UCXWorker(ctx)
timer = Timer(0, interval=0.001) do t # 0.001 smallest interval
Copy link
Member Author

Choose a reason for hiding this comment

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

@vtjnash I originally passed 0.0001 which was rounded down to 0, therefore only firing the Timer once...

Also passing a malformed cb doesn't yield an error.

@vchuravy vchuravy merged commit ccd53b7 into vc/request Feb 4, 2021
@vchuravy vchuravy deleted the vc/idle branch February 4, 2021 00:35
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