mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	Remove statsd support.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							ca6b0d8c5a
						
					
				
				
					commit
					9db3451333
				
			| @@ -18,7 +18,7 @@ from pika.channel import Channel | ||||
| from pika.spec import Basic | ||||
| from tornado import ioloop | ||||
|  | ||||
| from zerver.lib.utils import assert_is_not_none, statsd | ||||
| from zerver.lib.utils import assert_is_not_none | ||||
|  | ||||
| MAX_REQUEST_RETRIES = 3 | ||||
| ChannelT = TypeVar("ChannelT", Channel, BlockingChannel) | ||||
| @@ -128,8 +128,6 @@ class QueueClient(Generic[ChannelT], metaclass=ABCMeta): | ||||
|                 body=body, | ||||
|             ) | ||||
|  | ||||
|             statsd.incr(f"rabbitmq.publish.{queue_name}") | ||||
|  | ||||
|         self.ensure_queue(queue_name, do_publish) | ||||
|  | ||||
|     def json_publish(self, queue_name: str, body: Mapping[str, Any]) -> None: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user