mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-05 20:21:34 +08:00
Fix a broken format string.
This commit is contained in:
parent
e6edcb454a
commit
1f42421762
@ -108,7 +108,7 @@ class Statsd(Logger):
|
||||
self._sock_send("{0}{1}:{2}|c|@{3}".format(self.prefix, name, value, sampling_rate))
|
||||
|
||||
def decrement(self, name, value, sampling_rate=1.0):
|
||||
self._sock_send("{0){1}:-{2}|c|@{3}".format(self.prefix, name, value, sampling_rate))
|
||||
self._sock_send("{0}{1}:-{2}|c|@{3}".format(self.prefix, name, value, sampling_rate))
|
||||
|
||||
def histogram(self, name, value):
|
||||
self._sock_send("{0}{1}:{2}|ms".format(self.prefix, name, value))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user