diff options
author | Vika <vika@fireburn.ru> | 2021-10-27 06:27:13 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2021-10-27 06:27:13 +0300 |
commit | e559259686f984fdcce5669f0ab8c6dc27d76077 (patch) | |
tree | 610543a0d741af11ccf9ebcbcaf5055973ddff72 /src/database/file | |
parent | 5545edcca7d8d67ef156c924351fd9cb912c160b (diff) | |
download | kittybox-e559259686f984fdcce5669f0ab8c6dc27d76077.tar.zst |
Deprecated Redis backend and added a database migration tool (untested, beware)
Diffstat (limited to 'src/database/file')
-rw-r--r-- | src/database/file/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/file/mod.rs b/src/database/file/mod.rs index f58317e..1e0102a 100644 --- a/src/database/file/mod.rs +++ b/src/database/file/mod.rs @@ -402,7 +402,7 @@ impl Storage for FileStorage { } } let posts = stream::iter(posts_iter) - .map(|url| async move { + .map(|url: String| async move { self.get_post(&url).await }) .buffered(std::cmp::min(3, limit)) |