| 91 | } |
| 92 | |
| 93 | type request struct { |
| 94 | enqueueTime time.Time |
| 95 | queueSpan opentracing.Span |
| 96 | originalCtx context.Context |
| 97 | |
| 98 | request *httpgrpc.HTTPRequest |
| 99 | err chan error |
| 100 | response chan *httpgrpc.HTTPResponse |
| 101 | } |
| 102 | |
| 103 | func (r request) Priority() int64 { |
| 104 | priority, ok := stats.FromContext(r.originalCtx).LoadPriority() |
nothing calls this directly
no outgoing calls
no test coverage detected