mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 22:22:25 -05:00 
			
		
		
		
	[chore] Bump otel deps -> v1.30.0/v0.52.0 (#3307)
This commit is contained in:
		
					parent
					
						
							
								9046220979
							
						
					
				
			
			
				commit
				
					
						b2572b9e07
					
				
			
		
					 97 changed files with 3438 additions and 1645 deletions
				
			
		
							
								
								
									
										9
									
								
								vendor/google.golang.org/grpc/resolver_wrapper.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								vendor/google.golang.org/grpc/resolver_wrapper.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -66,7 +66,7 @@ func newCCResolverWrapper(cc *ClientConn) *ccResolverWrapper { | |||
| // any newly created ccResolverWrapper, except that close may be called instead. | ||||
| func (ccr *ccResolverWrapper) start() error { | ||||
| 	errCh := make(chan error) | ||||
| 	ccr.serializer.Schedule(func(ctx context.Context) { | ||||
| 	ccr.serializer.TrySchedule(func(ctx context.Context) { | ||||
| 		if ctx.Err() != nil { | ||||
| 			return | ||||
| 		} | ||||
|  | @ -85,7 +85,7 @@ func (ccr *ccResolverWrapper) start() error { | |||
| } | ||||
| 
 | ||||
| func (ccr *ccResolverWrapper) resolveNow(o resolver.ResolveNowOptions) { | ||||
| 	ccr.serializer.Schedule(func(ctx context.Context) { | ||||
| 	ccr.serializer.TrySchedule(func(ctx context.Context) { | ||||
| 		if ctx.Err() != nil || ccr.resolver == nil { | ||||
| 			return | ||||
| 		} | ||||
|  | @ -102,7 +102,7 @@ func (ccr *ccResolverWrapper) close() { | |||
| 	ccr.closed = true | ||||
| 	ccr.mu.Unlock() | ||||
| 
 | ||||
| 	ccr.serializer.Schedule(func(context.Context) { | ||||
| 	ccr.serializer.TrySchedule(func(context.Context) { | ||||
| 		if ccr.resolver == nil { | ||||
| 			return | ||||
| 		} | ||||
|  | @ -177,6 +177,9 @@ func (ccr *ccResolverWrapper) ParseServiceConfig(scJSON string) *serviceconfig.P | |||
| // addChannelzTraceEvent adds a channelz trace event containing the new | ||||
| // state received from resolver implementations. | ||||
| func (ccr *ccResolverWrapper) addChannelzTraceEvent(s resolver.State) { | ||||
| 	if !logger.V(0) && !channelz.IsOn() { | ||||
| 		return | ||||
| 	} | ||||
| 	var updates []string | ||||
| 	var oldSC, newSC *ServiceConfig | ||||
| 	var oldOK, newOK bool | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue