fix: deployment callbacks have a concurrency limit of 1 on same path

This commit is contained in:
Ruben Fiszel
2024-11-14 21:15:26 +01:00
parent 2a78359af7
commit c44fc4f5ab
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1 +1 @@
15602d5972e79192ff8f121cd783613b8ab365fa
177895136549cdb7c2f2a26ba3b654d76e60d845
+4 -4
View File
@@ -3670,15 +3670,15 @@ pub async fn push<'c, 'd, R: rsmq_async::RsmqConnection + Send + 'c>(
}
JobPayload::DeploymentCallback { path } => (
None,
Some(path),
Some(path.clone()),
None,
JobKind::DeploymentCallback,
None,
None,
None,
None,
None,
None,
Some(format!("{workspace_id}:git_sync")),
Some(1),
Some(0),
None,
None,
None,