Skip to content

Commit

Permalink
Update src/aleph/vm/pool.py
Browse files Browse the repository at this point in the history
Co-authored-by: nesitor <[email protected]>
  • Loading branch information
hoh and nesitor authored Mar 7, 2024
1 parent fefede9 commit 6afa917
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/aleph/vm/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ async def load_persistent_executions(self):
self._schedule_forget_on_stop(execution)

# Start the snapshot manager for the VM
await self.snapshot_manager.start_for(vm=execution.vm)
if execution.vm.support_snapshot and self.snapshot_manager:
await self.snapshot_manager.start_for(vm=execution.vm)

self.executions[vm_hash] = execution
else:
Expand Down

0 comments on commit 6afa917

Please sign in to comment.