track this a bit better
This commit is contained in:
parent
1241094993
commit
ca3eca49d8
|
@ -42,7 +42,7 @@ class TransactionManager(object):
|
|||
# HACK to get unique tx id
|
||||
self._next_txn_id = int(self.clock.time_msec())
|
||||
|
||||
self.limiter = defer.DeferredSemaphore(10)
|
||||
self.limiter = defer.DeferredSemaphore(25)
|
||||
|
||||
LaterGauge(
|
||||
"synapse_federation_transaction_client_concurrency",
|
||||
|
@ -50,6 +50,12 @@ class TransactionManager(object):
|
|||
[],
|
||||
lambda: self.limiter.limit - self.limiter.tokens,
|
||||
)
|
||||
LaterGauge(
|
||||
"synapse_federation_transaction_client_concurrency_queue",
|
||||
"",
|
||||
[],
|
||||
lambda: len(self.limiter.waiting),
|
||||
)
|
||||
|
||||
@measure_func("_send_new_transaction")
|
||||
@defer.inlineCallbacks
|
||||
|
|
Loading…
Reference in a new issue