ref: Cancel NtpSync when the VClockD is closed

When VClockD is being shutdown, pending NtpUpdates can take a while
to finish before shutdown may complete. This makes unit testing
slower as each shutdown of the v23 runtime can take upto 30 seconds
for NtpUpdate to finish. This shortens the time dramatically by passing
the existing closed chan from VClockD through to NtpUpdate and sample.

Change-Id: Ia40b1bb9c3c5cae1d277bb3e46757502ab1cb8ca
3 files changed
tree: eeed49e59ea2f226f274d703668fbd94637f0923
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.