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

feat(dot/network): implement streamManager to cleanup not recently used streams #1611

Merged
merged 46 commits into from
Jun 2, 2021

Commits on May 27, 2021

  1. update pool.get to return ptr

    noot committed May 27, 2021
    Configuration menu
    Copy the full SHA
    45e059b View commit details
    Browse the repository at this point in the history
  2. add logs

    noot committed May 27, 2021
    Configuration menu
    Copy the full SHA
    5197340 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8d96671 View commit details
    Browse the repository at this point in the history
  4. remove bufio

    noot committed May 27, 2021
    Configuration menu
    Copy the full SHA
    42e2f44 View commit details
    Browse the repository at this point in the history
  5. no more allocations

    noot committed May 27, 2021
    Configuration menu
    Copy the full SHA
    161406e View commit details
    Browse the repository at this point in the history
  6. try to fix sync??

    noot committed May 27, 2021
    Configuration menu
    Copy the full SHA
    aa538da View commit details
    Browse the repository at this point in the history
  7. update logs

    noot committed May 27, 2021
    Configuration menu
    Copy the full SHA
    735c60f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bcc5e6f View commit details
    Browse the repository at this point in the history
  9. log

    noot committed May 27, 2021
    Configuration menu
    Copy the full SHA
    db5ebf2 View commit details
    Browse the repository at this point in the history
  10. fix

    noot committed May 27, 2021
    Configuration menu
    Copy the full SHA
    35200ba View commit details
    Browse the repository at this point in the history
  11. fix

    noot committed May 27, 2021
    Configuration menu
    Copy the full SHA
    78895dd View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ef61ee8 View commit details
    Browse the repository at this point in the history
  13. restore pool to use ptrs

    noot committed May 27, 2021
    Configuration menu
    Copy the full SHA
    60afa84 View commit details
    Browse the repository at this point in the history
  14. remove storing peersToTry

    noot committed May 27, 2021
    Configuration menu
    Copy the full SHA
    8e70013 View commit details
    Browse the repository at this point in the history
  15. fix

    noot committed May 27, 2021
    Configuration menu
    Copy the full SHA
    4af4f95 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2021

  1. Configuration menu
    Copy the full SHA
    fb467b1 View commit details
    Browse the repository at this point in the history
  2. increase connectToPeersTimeout

    noot committed May 28, 2021
    Configuration menu
    Copy the full SHA
    56c1aaa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aa58de6 View commit details
    Browse the repository at this point in the history
  4. don't find peers

    noot committed May 28, 2021
    Configuration menu
    Copy the full SHA
    e1563f3 View commit details
    Browse the repository at this point in the history
  5. only find peers if below min

    noot committed May 28, 2021
    Configuration menu
    Copy the full SHA
    c8b5544 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8d54da5 View commit details
    Browse the repository at this point in the history
  7. lint

    noot committed May 28, 2021
    Configuration menu
    Copy the full SHA
    0ef575d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3f3055e View commit details
    Browse the repository at this point in the history

Commits on May 29, 2021

  1. add go.mod

    noot committed May 29, 2021
    Configuration menu
    Copy the full SHA
    5565d90 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2021

  1. add timeout to readStream

    noot committed May 30, 2021
    Configuration menu
    Copy the full SHA
    a1babfa View commit details
    Browse the repository at this point in the history
  2. cleanup

    noot committed May 30, 2021
    Configuration menu
    Copy the full SHA
    a9fab01 View commit details
    Browse the repository at this point in the history
  3. fix

    noot committed May 30, 2021
    Configuration menu
    Copy the full SHA
    80569f5 View commit details
    Browse the repository at this point in the history
  4. fix

    noot committed May 30, 2021
    Configuration menu
    Copy the full SHA
    f392695 View commit details
    Browse the repository at this point in the history
  5. fix again

    noot committed May 30, 2021
    Configuration menu
    Copy the full SHA
    a6ef2ac View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    da6d0b4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2162ebc View commit details
    Browse the repository at this point in the history
  8. start streamManager

    noot committed May 30, 2021
    Configuration menu
    Copy the full SHA
    d4085c1 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2021

  1. Configuration menu
    Copy the full SHA
    85e2e5d View commit details
    Browse the repository at this point in the history
  2. add test case

    noot committed May 31, 2021
    Configuration menu
    Copy the full SHA
    03480e3 View commit details
    Browse the repository at this point in the history
  3. lint

    noot committed May 31, 2021
    Configuration menu
    Copy the full SHA
    d26bce1 View commit details
    Browse the repository at this point in the history
  4. cleanup

    noot committed May 31, 2021
    Configuration menu
    Copy the full SHA
    945f95b View commit details
    Browse the repository at this point in the history
  5. merge w development

    noot committed May 31, 2021
    Configuration menu
    Copy the full SHA
    4942020 View commit details
    Browse the repository at this point in the history
  6. test cleanup

    noot committed May 31, 2021
    Configuration menu
    Copy the full SHA
    ea5248c View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2021

  1. use single map in streamManager

    noot committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    bb94aec View commit details
    Browse the repository at this point in the history
  2. lint

    noot committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    09d9aab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0fe8ea4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7027073 View commit details
    Browse the repository at this point in the history
  5. address comments

    noot committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    bbdee57 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'noot/read-stream-timeout' of github.com:ChainSafe/gossa…

    …mer into noot/read-stream-timeout
    noot committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    39694fa View commit details
    Browse the repository at this point in the history
  7. use ticker.C

    noot committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    f061756 View commit details
    Browse the repository at this point in the history
  8. add ticker.Stop

    noot committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    c3b1a83 View commit details
    Browse the repository at this point in the history