Fix redis pool timeout (#669)

* Fix redis pool timeout

* remove search dep project issues

* run fmt + prep
This commit is contained in:
Geometrically
2023-08-06 15:34:03 -07:00
committed by GitHub
parent 1f4ad732fd
commit e9f5bd4ac1
8 changed files with 191 additions and 219 deletions

View File

@@ -99,8 +99,6 @@ pub struct UploadSearchProject {
pub modified_timestamp: i64,
pub open_source: bool,
pub color: Option<u32>,
/// format: {project_id}-{dep_type}
pub dependencies: Vec<String>,
}
#[derive(Serialize, Deserialize, Debug)]
@@ -136,8 +134,6 @@ pub struct ResultSearchProject {
pub gallery: Vec<String>,
pub featured_gallery: Option<String>,
pub color: Option<u32>,
/// format: {project_id}-{dep_type}
pub dependencies: Vec<String>,
}
pub async fn search_for_project(