mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
put queue gauge in correct place
This commit is contained in:
parent
65d18211fb
commit
39e260f889
@ -37,7 +37,6 @@ class Block(object):
|
||||
b = Bigchain()
|
||||
|
||||
while True:
|
||||
c.gauge('tx_queue_gauge', self.q_tx_to_validate.qsize(), rate=bigchaindb.config['statsd']['rate'])
|
||||
tx = self.q_new_transaction.get()
|
||||
|
||||
# poison pill
|
||||
@ -58,6 +57,7 @@ class Block(object):
|
||||
b = Bigchain()
|
||||
|
||||
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()
|
||||
|
||||
# poison pill
|
||||
|
Loading…
x
Reference in New Issue
Block a user