Skip to content

Commit

Permalink
delay throttle from status tree updates at run start
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Aug 12, 2024
1 parent 3c633ec commit 103da2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/evaluation/Run.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ function run_reactive_core!(

old_workspace_name, _ = WorkspaceManager.bump_workspace_module((session, notebook))

# A state sync will come soon from this function, so let's delay anything coming from the status_tree listener, see https://github.com/fonsp/Pluto.jl/issues/2978
Throttled.force_throttle_without_run(notebook.status_tree.update_listener_ref[])

run_status = Status.report_business_started!(notebook.status_tree, :run)
Status.report_business_started!(run_status, :resolve_topology)
cell_status = Status.report_business_planned!(run_status, :evaluate)
Expand Down

0 comments on commit 103da2d

Please sign in to comment.