mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-19 16:03:29 +00:00
fix: fix go and py resolution cache overlap
This commit is contained in:
@@ -95,7 +95,7 @@ pub async fn pip_compile(
|
||||
} else {
|
||||
requirements.to_string()
|
||||
};
|
||||
let req_hash = format!("go-{}", calculate_hash(&requirements));
|
||||
let req_hash = format!("py-{}", calculate_hash(&requirements));
|
||||
if let Some(cached) = sqlx::query_scalar!(
|
||||
"SELECT lockfile FROM pip_resolution_cache WHERE hash = $1",
|
||||
req_hash
|
||||
|
||||
Reference in New Issue
Block a user