| 44 | } |
| 45 | |
| 46 | type PriorityRequestQueue struct { |
| 47 | queue *util.PriorityQueue |
| 48 | userID string |
| 49 | queueLength *prometheus.GaugeVec |
| 50 | } |
| 51 | |
| 52 | func NewPriorityRequestQueue(queue *util.PriorityQueue, userID string, queueLength *prometheus.GaugeVec) *PriorityRequestQueue { |
| 53 | return &PriorityRequestQueue{queue: queue, userID: userID, queueLength: queueLength} |
nothing calls this directly
no outgoing calls
no test coverage detected