()
| 198 | } |
| 199 | |
| 200 | func (s schedulerRequest) Priority() int64 { |
| 201 | priority, ok := stats.FromContext(s.ctx).LoadPriority() |
| 202 | if !ok { |
| 203 | return 0 |
| 204 | } |
| 205 | |
| 206 | return priority |
| 207 | } |
| 208 | |
| 209 | func getPlanFromHTTPRequest(req *httpgrpc.HTTPRequest) ([]byte, error) { |
| 210 | if req.Body == nil { |
nothing calls this directly
no test coverage detected