This commit is contained in:
		@@ -1,4 +1,6 @@
 | 
			
		||||
#!/usr/bin/env python3
 | 
			
		||||
import time
 | 
			
		||||
 | 
			
		||||
import jaeger_client
 | 
			
		||||
import opentracing
 | 
			
		||||
 | 
			
		||||
@@ -89,6 +91,9 @@ def main():
 | 
			
		||||
        logging.info("SIGINT Received! Stopping stuff...")
 | 
			
		||||
        channel.stop_consuming()
 | 
			
		||||
 | 
			
		||||
    time.sleep(2)  # lol
 | 
			
		||||
    opentracing.tracer.close()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if __name__ == '__main__':
 | 
			
		||||
    main()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user