Annotate 2 TODOs

This commit is contained in:
Olivier 'reivilibre' 2024-05-21 21:51:22 +01:00
parent 38cd3f0be3
commit 2f6da0f9fc
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ pub struct IdCoopStore {
impl IdCoopStore {
pub async fn connect(conn_str: &str) -> eyre::Result<Self> {
// TODO We might support SQLite as well, so we might want to use an 'AnyPool' after
// TODO(sqlite) We might support SQLite as well, so we might want to use an 'AnyPool' after
// installing the requisite drivers here
let db_pool = PgPool::connect(conn_str)
.await

View File

@ -110,7 +110,7 @@ pub async fn serve(
.layer(Extension(config))
.layer(Extension(secrets))
.layer(Extension(store))
// TODO this limit should be configurable
// TODO(v0.0.2) this limit should be configurable
.layer(Extension(Arc::new(PasswordHashInflightLimiter::new(1))))
.layer(client_ip_source.into_extension())
.layer(Extension(Arc::new(ratelimiters)))