mirror of
https://github.com/modrinth/code.git
synced 2026-08-26 09:34:50 +00:00
Batched search indexing (#5191)
* Use RO pool for search indexing * Batched search indexing that actually works * Query cache
This commit is contained in:
@@ -17,6 +17,12 @@ impl From<PgPool> for ReadOnlyPgPool {
|
||||
}
|
||||
}
|
||||
|
||||
impl ReadOnlyPgPool {
|
||||
pub fn into_inner(self) -> PgPool {
|
||||
self.0
|
||||
}
|
||||
}
|
||||
|
||||
impl Deref for ReadOnlyPgPool {
|
||||
type Target = PgPool;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user