From 8f3646a9c93a06f76f6abb31020fdb74b4b1fc59 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 9 Apr 2023 20:50:33 +0300 Subject: exp: jaeger tracing --- .../thrift/src/Protocol/SimpleJSON/ListContext.php | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 vendor/packaged/thrift/src/Protocol/SimpleJSON/ListContext.php (limited to 'vendor/packaged/thrift/src/Protocol/SimpleJSON/ListContext.php') diff --git a/vendor/packaged/thrift/src/Protocol/SimpleJSON/ListContext.php b/vendor/packaged/thrift/src/Protocol/SimpleJSON/ListContext.php new file mode 100644 index 000000000..6f346d8f8 --- /dev/null +++ b/vendor/packaged/thrift/src/Protocol/SimpleJSON/ListContext.php @@ -0,0 +1,45 @@ +p_ = $p; + } + + public function write() + { + if ($this->first_) { + $this->first_ = false; + } else { + $this->p_->getTransport()->write(TSimpleJSONProtocol::COMMA); + } + } +} -- cgit v1.2.3