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.crypto import hash_data, PublicKey, PrivateKey, generate_key_pair
|
||||||
from bigchaindb.monitor import Monitor
|
from bigchaindb.monitor import Monitor
|
||||||
|
|
||||||
c = Monitor()
|
c = Monitor(host='statsd_1')
|
||||||
|
|
||||||
class GenesisBlockAlreadyExistsError(Exception):
|
class GenesisBlockAlreadyExistsError(Exception):
|
||||||
pass
|
pass
|
||||||
@ -317,7 +317,7 @@ class Bigchain(object):
|
|||||||
|
|
||||||
return owned
|
return owned
|
||||||
|
|
||||||
@c.timer('validate_transaction', rate=0.01)
|
@c.timer('validate_transaction')#, rate=0.01)
|
||||||
def validate_transaction(self, transaction):
|
def validate_transaction(self, transaction):
|
||||||
"""Validate a transaction.
|
"""Validate a transaction.
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ grafana:
|
|||||||
|
|
||||||
statsd:
|
statsd:
|
||||||
image: rhsimplex/docker-telegraf-statsd
|
image: rhsimplex/docker-telegraf-statsd
|
||||||
expose:
|
ports:
|
||||||
- "8125/udp"
|
- "8125:8125/udp"
|
||||||
links:
|
links:
|
||||||
- influxdb:localhost
|
- influxdb:localhost
|
Loading…
x
Reference in New Issue
Block a user