mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
refactor: use inline cache with tag on stats
This commit is contained in:
@@ -249,7 +249,7 @@ namespace SharpbinV3.Server
|
||||
},
|
||||
}
|
||||
});
|
||||
}).CacheOutput("1Day");
|
||||
}).CacheOutput(policy => policy.Expire(TimeSpan.FromDays(1)).Tag("stats"));
|
||||
|
||||
app.Run();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user