merge rooms/short Data w/ Service; optimize queries
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
0e8ae1e13e
commit
c569881b08
18 changed files with 257 additions and 262 deletions
|
@ -253,7 +253,7 @@ impl Data {
|
|||
}
|
||||
|
||||
pub(super) async fn get_url_preview(&self, url: &str) -> Result<UrlPreviewData> {
|
||||
let values = self.url_previews.qry(url).await?;
|
||||
let values = self.url_previews.get(url).await?;
|
||||
|
||||
let mut values = values.split(|&b| b == 0xFF);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue