Set (or update) the priority class for a database. Applied on the next `pop_next` call after this update.
(&mut self, database_id: u64, cls: PriorityClass)
| 122 | /// Set (or update) the priority class for a database. Applied on the next |
| 123 | /// `pop_next` call after this update. |
| 124 | pub fn set_priority(&mut self, database_id: u64, cls: PriorityClass) { |
| 125 | self.priorities.insert(database_id, cls); |
| 126 | } |
| 127 | |
| 128 | /// Pop the next item using deficit round-robin across all virtual queues. |
| 129 | /// |