mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: cache for 6 hours instead of 24 hours
This commit is contained in:
@@ -270,7 +270,7 @@ namespace SharpbinV3.Server
|
||||
}
|
||||
}
|
||||
});
|
||||
}).CacheOutput(policy => policy.Expire(TimeSpan.FromDays(1)).Tag("stats"));
|
||||
}).CacheOutput(policy => policy.Expire(TimeSpan.FromHours(6)).Tag("stats"));
|
||||
|
||||
app.Run();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user