From 39b576f7e3aab03ede9e8e27323abb1ab8f8e8aa Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Sat, 9 Jan 2010 08:06:58 +0000 Subject: [PATCH] MGR: When Event Log is open, do get_messages RPC once per second but do view-specific periodic RPCs at their normal View refresh rate svn path=/trunk/boinc/; revision=20116 --- clientgui/MainDocument.cpp | 2 +- clientgui/MainDocument.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clientgui/MainDocument.cpp b/clientgui/MainDocument.cpp index 583856526b..dbab2ff15d 100644 --- a/clientgui/MainDocument.cpp +++ b/clientgui/MainDocument.cpp @@ -810,7 +810,7 @@ void CMainDocument::RefreshRPCs() { } -void CMainDocument::RunPeriodicRPCs(wxLongLong frameRefreshRate) { +void CMainDocument::RunPeriodicRPCs(int frameRefreshRate) { ASYNC_RPC_REQUEST request; wxTimeSpan ts; diff --git a/clientgui/MainDocument.h b/clientgui/MainDocument.h index 7db03b0303..9928c28a5e 100644 --- a/clientgui/MainDocument.h +++ b/clientgui/MainDocument.h @@ -162,7 +162,7 @@ public: int SetNetworkRunMode(int iMode, int iTimeout); void RefreshRPCs(); - void RunPeriodicRPCs(wxLongLong frameRefreshRate); + void RunPeriodicRPCs(int frameRefreshRate); int ForceCacheUpdate(bool immediate = true); int RunBenchmarks();