chestarss commented on issue #4934:
URL: https://github.com/apache/skywalking/issues/4934#issuecomment-644702151


   我临时用这个修复后可以用,不知道是什么原因文件上面的代码里的_thread_local.context赋值没有生效。
    skywalking/trace/context/__init__.py 
   ```python
   def get_context() -> SpanContext:
       try:
           tmp_context = _thread_local.context
       except:
           tmp_context = None
       _thread_local.context = tmp_context or (SpanContext() if 
agent.connected() else NoopContext())
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to