mirror of https://github.com/BOINC/boinc.git
MGR: On Mac, revert to auto-save frequency of 5 minutes because the more frequent saves have no positive effect on the Mac.
svn path=/trunk/boinc/; revision=17522
This commit is contained in:
parent
1b30195893
commit
c4e6364909
|
@ -2810,6 +2810,11 @@ Rom 5 Mar 2009
|
|||
Charlie 5 Mar 2009
|
||||
- Mac: Remove obsolete files AlreadyAttachedPage.cpp, .h from
|
||||
XCode project.
|
||||
- MGR: On Mac, revert to auto-save frequency of 5 minutes because:
|
||||
* The 3 bugs did not occur on the Mac, and
|
||||
* The saved info is written to a file on the Mac, but the file
|
||||
is not flushed to disk until the Manager is closed, so the
|
||||
extra auto-saves have no effect but only waste CPU cycles.
|
||||
|
||||
mac_build/
|
||||
boinc.xcodeproj/
|
||||
|
|
|
@ -231,7 +231,11 @@ CAdvancedFrame::CAdvancedFrame(wxString title, wxIcon* icon, wxIcon* icon32) :
|
|||
|
||||
m_pRefreshStateTimer = new wxTimer(this, ID_REFRESHSTATETIMER);
|
||||
wxASSERT(m_pRefreshStateTimer);
|
||||
m_pRefreshStateTimer->Start(5000); // Send event every 5 seconds
|
||||
#ifdef __WXMAC__
|
||||
m_pRefreshStateTimer->Start(300000); // Send event every 5 minutes
|
||||
#else
|
||||
m_pRefreshStateTimer->Start(5000); // Send event every 5 seconds
|
||||
#endif
|
||||
|
||||
m_pFrameRenderTimer = new wxTimer(this, ID_FRAMERENDERTIMER);
|
||||
wxASSERT(m_pFrameRenderTimer);
|
||||
|
|
Loading…
Reference in New Issue