8000 `watch` spams API after sleep · Issue #88 · drand/drand-client · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
watch spams API after sleep  #88
Open
@CluEleSsUK

Description

@CluEleSsUK

Steps to reproduce

  1. someone uses watch on a webpage and then put their computer to sleep
  2. they wake their computer from sleep
  3. the JS watch function will then proceed to SPAM the relay to catch all the rounds between back when the computer went to sleep until now

Suggested fix

Calculate the next round by time in the watch function

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0