diff --git a/checkin_notes b/checkin_notes index 2c311dbc9c..b956e144bb 100644 --- a/checkin_notes +++ b/checkin_notes @@ -7659,3 +7659,13 @@ David 12 Sept 2009 client/ app_control.cpp + +David 13 Sept 2009 + - client: change order in poll loop so that: + 1) job finishes + 2) job gets marked as "ready to report" + 3) scheduler RPC is initiated + Hopefully this won't have an unintended side-effect + + client/ + client_state.cpp diff --git a/client/client_state.cpp b/client/client_state.cpp index 1b3566a4e6..0b3de3f2a4 100644 --- a/client/client_state.cpp +++ b/client/client_state.cpp @@ -673,7 +673,6 @@ bool CLIENT_STATE::poll_slow_events() { //auto_update.poll(); POLL_ACTION(active_tasks , active_tasks.poll ); POLL_ACTION(garbage_collect , garbage_collect ); - POLL_ACTION(update_results , update_results ); POLL_ACTION(gui_http , gui_http.poll ); POLL_ACTION(gui_rpc_http , gui_rpcs.poll ); if (!network_suspended) { @@ -684,6 +683,7 @@ bool CLIENT_STATE::poll_slow_events() { POLL_ACTION(handle_pers_file_xfers , handle_pers_file_xfers ); } POLL_ACTION(handle_finished_apps , handle_finished_apps ); + POLL_ACTION(update_results , update_results ); if (!tasks_suspended) { POLL_ACTION(possibly_schedule_cpus, possibly_schedule_cpus ); POLL_ACTION(enforce_schedule , enforce_schedule );