about summary refs log tree commit diff
path: root/src/database/file
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2021-10-27 06:27:13 +0300
committerVika <vika@fireburn.ru>2021-10-27 06:27:13 +0300
commite559259686f984fdcce5669f0ab8c6dc27d76077 (patch)
tree610543a0d741af11ccf9ebcbcaf5055973ddff72 /src/database/file
parent5545edcca7d8d67ef156c924351fd9cb912c160b (diff)
downloadkittybox-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.rs2
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))