Skip to content

Commit 47afe7c

Browse files
committed
Connect the record when loading persistant exec
so they can properly be updated afterward
1 parent 99e921f commit 47afe7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/aleph/vm/pool.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ async def load_persistent_executions(self):
329329
await execution.fetch_port_redirect_config_and_setup()
330330

331331
self.executions[vm_hash] = execution
332+
execution.record = saved_execution
332333
else:
333334
execution.uuid = saved_execution.uuid
334335
await execution.record_usage()

0 commit comments

Comments
 (0)