(id: Uuid)
| 105 | } |
| 106 | |
| 107 | pub async fn delete(id: Uuid) -> Result<()> { |
| 108 | let key = redis_key(format!("pr:sess:{{{}}}", id)); |
| 109 | |
| 110 | () = redis::cmd("DEL") |
| 111 | .arg(&key) |
| 112 | .query_async(&mut get_async_redis_conn().await?) |
| 113 | .await?; |
| 114 | |
| 115 | info!(id = %id, "Passive-roaming device-session deleted"); |
| 116 | Ok(()) |
| 117 | } |
| 118 | |
| 119 | pub async fn get_for_phy_payload( |
| 120 | phy: &lrwn::PhyPayload, |
nothing calls this directly
no test coverage detected