GithubHelp home page GithubHelp logo

pozhidaevak / antpool-monitor Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 3.0 137 KB

It monitors hashrate of antpool workers and sends messages to notify if any worker has stoped

Java 96.90% Shell 3.10%

antpool-monitor's People

Contributors

pozhidaevak avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

antpool-monitor's Issues

requestWorkers method is invoked twice at the start of the application

According to logs requestWorkers() is called twice at the start of the app.

2018-01-06 19:34:39,677 [INFO] g.a.a.AntpoolApi [hystrix-AntpoolApi-1] Starting requestWorkers
2018-01-06 19:34:39,677 [INFO] g.a.a.AntpoolApi [hystrix-AntpoolApi-2] Starting requestWorkers

It should be called only once.

Support multiple antpool sub-accounts

For now, only one antpool account is supported.
It would be great to support several accounts. For this antpool property in application-secrets.yaml should support lists like this:

antpool:
  - key: "key1"
    secret: "secret1"
    user: "user1"
  - key: "key2"
    secret: "secret2"
    user: "user2"

Tests from MonitorTest fail intermittently

MonitorTest class has tests that check how Circuit Breaker logic will be working. However, they have intermittent fails. The failures are probably connected with Hystrix or the way it is used.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.