mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
timing adjustments
This commit is contained in:
parent
6ee330213c
commit
fc045d1174
@ -12,7 +12,7 @@ from bigchaindb import exceptions
|
||||
from bigchaindb.crypto import hash_data, PublicKey, PrivateKey, generate_key_pair
|
||||
from bigchaindb.monitor import Monitor
|
||||
|
||||
c = Monitor()
|
||||
c = Monitor(host='statsd_1')
|
||||
|
||||
class GenesisBlockAlreadyExistsError(Exception):
|
||||
pass
|
||||
@ -317,7 +317,7 @@ class Bigchain(object):
|
||||
|
||||
return owned
|
||||
|
||||
@c.timer('validate_transaction', rate=0.01)
|
||||
@c.timer('validate_transaction')#, rate=0.01)
|
||||
def validate_transaction(self, transaction):
|
||||
"""Validate a transaction.
|
||||
|
||||
|
@ -50,7 +50,7 @@ grafana:
|
||||
|
||||
statsd:
|
||||
image: rhsimplex/docker-telegraf-statsd
|
||||
expose:
|
||||
- "8125/udp"
|
||||
ports:
|
||||
- "8125:8125/udp"
|
||||
links:
|
||||
- influxdb:localhost
|
Loading…
x
Reference in New Issue
Block a user