We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a5f121 commit f4f4e02Copy full SHA for f4f4e02
engine/packages/pegboard/src/workflows/actor/runtime.rs
@@ -264,8 +264,8 @@ async fn allocate_actor_v2(
264
.map(|pool| matches!(pool.config.kind, RunnerConfigKind::Serverless { .. }))
265
.unwrap_or(false);
266
267
- // Protocol version is set or this is a serverless pool; migrate to actor v2
268
- if pool.as_ref().and_then(|p| p.protocol_version).is_some() || for_serverless {
+ // Protocol version is set or this is a serverless pool
+ if pool.and_then(|p| p.protocol_version).is_some() {
269
return Ok(AllocateActorOutputV2 {
270
status: AllocateActorStatus::MigrateToV2,
271
serverless: false,
0 commit comments