- Manager: show (in Project/status) if a sched RPC is in progress

clientgui/
    ViewProjects.cpp
    ViewProjectsGrid.cpp

svn path=/trunk/boinc/; revision=12654
This commit is contained in:
David Anderson 2007-05-11 18:27:16 +00:00
parent fca5836088
commit 39997cb702
4 changed files with 14 additions and 1 deletions

View File

@ -4852,3 +4852,10 @@ David 11 May 2007
html/user/
show_user.php
David 11 May 2007
- Manager: show (in Project/status) if a sched RPC is in progress
clientgui/
ViewProjects.cpp
ViewProjectsGrid.cpp

View File

@ -691,6 +691,9 @@ wxInt32 CViewProjects::FormatStatus(wxInt32 item, wxString& status) const {
append_to_status(status, _("Scheduler request pending"));
append_to_status(status, wxString(rpc_reason_string(project->sched_rpc_pending), wxConvUTF8));
}
if (project->scheduler_rpc_in_progress) {
append_to_status(strBuffer, _("Scheduler request in progress"));
}
wxDateTime dtNextRPC((time_t)project->min_rpc_time);
wxDateTime dtNow(wxDateTime::Now());
if (dtNextRPC > dtNow) {

View File

@ -613,6 +613,9 @@ void CViewProjectsGrid::FormatStatus(wxInt32 item, wxString& strBuffer) {
append_to_status(strBuffer, _("Scheduler request pending"));
append_to_status(strBuffer, wxString(rpc_reason_string(project->sched_rpc_pending), wxConvUTF8));
}
if (project->scheduler_rpc_in_progress) {
append_to_status(strBuffer, _("Scheduler request in progress"));
}
wxDateTime dtNextRPC((time_t)project->min_rpc_time);
wxDateTime dtNow(wxDateTime::Now());
if (dtNextRPC > dtNow) {

View File

@ -100,7 +100,7 @@ public:
double duration_correction_factor;
bool master_url_fetch_pending; // need to fetch and parse the master URL
int sched_rpc_pending; // contact scheduling server for preferences
int sched_rpc_pending; // need to contact scheduling server
int rr_sim_deadlines_missed;
bool tentative; // master URL and account ID not confirmed
bool non_cpu_intensive;