mirror of https://github.com/BOINC/boinc.git
Sched: config option not to store stderr_out if exit_status==0 (to save on DB size). With help from Nicolas Alvarez.
svn path=/trunk/boinc/; revision=18528
This commit is contained in:
parent
d8fb79672c
commit
f239587bdb
|
@ -6102,3 +6102,12 @@ Charlie 29 June 2009
|
|||
|
||||
clientgui/
|
||||
ProjectListCtrl.cpp, .h
|
||||
|
||||
Rytis 30 June 2009
|
||||
- Sched: config option not to store stderr_out if exit_status==0 (to
|
||||
save on DB size). With help from Nicolas Alvarez.
|
||||
|
||||
sched/
|
||||
sched_config.cpp
|
||||
sched_config.h
|
||||
sched_result.cpp
|
||||
|
|
|
@ -212,6 +212,7 @@ int SCHED_CONFIG::parse(FILE* f) {
|
|||
if (xp.parse_bool(tag, "no_vista_sandbox", no_vista_sandbox)) continue;
|
||||
if (xp.parse_bool(tag, "ignore_dcf", ignore_dcf)) continue;
|
||||
if (xp.parse_int(tag, "report_max", report_max)) continue;
|
||||
if (xp.parse_bool(tag, "dont_store_success_stderr", dont_store_success_stderr)) continue;
|
||||
|
||||
if (xp.parse_bool(tag, "debug_version_select", debug_version_select)) continue;
|
||||
if (xp.parse_bool(tag, "debug_assignment", debug_assignment)) continue;
|
||||
|
|
|
@ -100,8 +100,8 @@ public:
|
|||
// will be sent to reliable hosts
|
||||
double reliable_reduced_delay_bound;
|
||||
// Reduce the delay bounds for reliable hosts by this percent
|
||||
int granted_credit_ramp_up;
|
||||
double granted_credit_weight;
|
||||
int granted_credit_ramp_up;
|
||||
double granted_credit_weight;
|
||||
bool distinct_beta_apps;
|
||||
// allow users to select beta apps independently
|
||||
bool workload_sim;
|
||||
|
@ -132,6 +132,7 @@ public:
|
|||
bool no_vista_sandbox;
|
||||
bool ignore_dcf;
|
||||
int report_max;
|
||||
bool dont_store_success_stderr;
|
||||
|
||||
// log flags
|
||||
//
|
||||
|
|
|
@ -303,6 +303,10 @@ int handle_results() {
|
|||
);
|
||||
}
|
||||
got_good_result();
|
||||
|
||||
if (config.dont_store_success_stderr) {
|
||||
strcpy(srip->stderr_out, "");
|
||||
}
|
||||
} else {
|
||||
if (config.debug_handle_results) {
|
||||
log_messages.printf(MSG_NORMAL,
|
||||
|
|
Loading…
Reference in New Issue