Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Commit

Permalink
Ooops
Browse files Browse the repository at this point in the history
  • Loading branch information
icook committed Jun 26, 2014
1 parent 51c45b8 commit 06cc7dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions simplecoin/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,9 +694,9 @@ def server_status():
else:
workers = data['stratum_clients']
hashrate = data['shares']['hour_total'] / 3600.0 * current_app.config['hashes_per_share']
servers.append(dict(workers=workers,
hashrate=hashrate,
name=pp_config['stratum']))
servers.append(dict(workers=workers,
hashrate=hashrate,
name=pp_config['stratum']))
total_workers += workers

cache.set('raw_server_status', json.dumps(raw_servers), timeout=1200)
Expand Down

0 comments on commit 06cc7dd

Please sign in to comment.