put queue gauge in correct place

This commit is contained in:
ryan 2016-02-23 18:38:57 +01:00
parent 65d18211fb
commit 39e260f889

View File

@ -37,7 +37,6 @@ class Block(object):
b = Bigchain() b = Bigchain()
while True: while True:
c.gauge('tx_queue_gauge', self.q_tx_to_validate.qsize(), rate=bigchaindb.config['statsd']['rate'])
tx = self.q_new_transaction.get() tx = self.q_new_transaction.get()
# poison pill # poison pill
@ -58,6 +57,7 @@ class Block(object):
b = Bigchain() b = Bigchain()
while True: while True:
c.gauge('tx_queue_gauge', self.q_tx_to_validate.qsize(), rate=bigchaindb.config['statsd']['rate'])
tx = self.q_tx_to_validate.get() tx = self.q_tx_to_validate.get()
# poison pill # poison pill