Skip to content

Commit f4f4e02

Browse files
NathanFlurryMasterPtato
authored andcommitted
chore: revert actor v2 hack
1 parent 3a5f121 commit f4f4e02

File tree

1 file changed

+2
-2
lines changed
  • engine/packages/pegboard/src/workflows/actor

1 file changed

+2
-2
lines changed

engine/packages/pegboard/src/workflows/actor/runtime.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ async fn allocate_actor_v2(
264264
.map(|pool| matches!(pool.config.kind, RunnerConfigKind::Serverless { .. }))
265265
.unwrap_or(false);
266266

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 {
267+
// Protocol version is set or this is a serverless pool
268+
if pool.and_then(|p| p.protocol_version).is_some() {
269269
return Ok(AllocateActorOutputV2 {
270270
status: AllocateActorStatus::MigrateToV2,
271271
serverless: false,

0 commit comments

Comments
 (0)