mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +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();
|
app.Run();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user