mirror of https://github.com/BOINC/boinc.git
- client: if user requests RPC, do it even if project is backed off
- manager: show backoff interval correctly svn path=/trunk/boinc/; revision=17070
This commit is contained in:
parent
3838ac2f19
commit
604a83aa96
|
@ -893,3 +893,13 @@ David 29 Jan 2009
|
|||
user/
|
||||
hosts_user.php
|
||||
show_coproc.php
|
||||
|
||||
David 29 Jan 2009
|
||||
- client: if user requests RPC, do it even if project is backed off
|
||||
- manager: show backoff interval correctly
|
||||
|
||||
client/
|
||||
cs_scheduler.cpp
|
||||
work_fetch.cpp
|
||||
clientgui/
|
||||
DlgItemProperties.cpp
|
||||
|
|
|
@ -979,10 +979,9 @@ PROJECT* CLIENT_STATE::next_project_sched_rpc_pending() {
|
|||
if (p->next_rpc_time && p->next_rpc_time<now) {
|
||||
p->sched_rpc_pending = RPC_REASON_PROJECT_REQ;
|
||||
p->next_rpc_time = 0;
|
||||
} else {
|
||||
if (p->waiting_until_min_rpc_time()) continue;
|
||||
}
|
||||
// if (p->suspended_via_gui) continue;
|
||||
|
||||
// do the RPC even if suspended.
|
||||
// This is critical for acct mgrs, to propagate new host CPIDs
|
||||
//
|
||||
|
|
|
@ -405,7 +405,7 @@ void RSC_WORK_FETCH::update_debts() {
|
|||
//
|
||||
double offset = delta_sum/neligible;
|
||||
if (log_flags.debt_debug) {
|
||||
msg_printf(p, MSG_INFO, "[debt] subtract %f for zero total change", offset);
|
||||
msg_printf(0, MSG_INFO, "[debt] subtract %f for zero total change", offset);
|
||||
}
|
||||
double max_debt = 0;
|
||||
for (i=0; i<gstate.projects.size(); i++) {
|
||||
|
@ -421,7 +421,7 @@ void RSC_WORK_FETCH::update_debts() {
|
|||
// This ensures that new projects start out debt-free.
|
||||
//
|
||||
if (log_flags.debt_debug) {
|
||||
msg_printf(p, MSG_INFO, "[debt] subtract %f for zero max debt", max_debt);
|
||||
msg_printf(0, MSG_INFO, "[debt] subtract %f for zero max debt", max_debt);
|
||||
}
|
||||
for (i=0; i<gstate.projects.size(); i++) {
|
||||
p = gstate.projects[i];
|
||||
|
|
|
@ -108,7 +108,7 @@ void CDlgItemProperties::renderInfos(PROJECT* project_in) {
|
|||
addProperty(_("Team name"),wxString(project->team_name.c_str(),wxConvUTF8));
|
||||
addProperty(_("Resource share"),wxString::Format(wxT("%0.0f"),project->resource_share));
|
||||
if (project->min_rpc_time > dtime()) {
|
||||
addProperty(_("Scheduler RPC deferred for"), FormatTime(dtime() - project->min_rpc_time));
|
||||
addProperty(_("Scheduler RPC deferred for"), FormatTime(project->min_rpc_time - dtime()));
|
||||
}
|
||||
addProperty(_("Disk usage"),FormatDiskSpace(diskusage));
|
||||
addProperty(_("Non CPU intensive"),project->non_cpu_intensive ? _("yes") : _("no"));
|
||||
|
|
Loading…
Reference in New Issue