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

This commit is contained in:
Ruben Fiszel
2024-11-14 21:03:26 +01:00
committed by Alexander Petric
parent be9a7a0d0a
commit 53367c6a36
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,