commit 179b7d0d2aa0c1c79e5bd52a2105cae9df2d040a
parent d8cb5996de8d875d1c3a5f4a763339e3733343fc
Author: tomvig38@gmail.com <tomvig38@gmail.com>
Date: Mon, 25 Oct 2021 08:11:01 +0000
faru la kaŝo pli granda
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/requests.rs b/src/requests.rs
@@ -73,7 +73,7 @@ fn prepare_word(vorto: String) -> String {
macro_rules! q {
($finternal:ident, $fname:ident, $t:ty, $url:expr) => {
- #[cached]
+ #[cached(size=200)]
async fn $finternal(vorto: String) -> Result<$t, String> {
req::<$t>($url, vorto).await
}