*** empty log message ***

svn path=/trunk/boinc/; revision=4683
This commit is contained in:
Jeff Cobb 2004-11-30 00:28:19 +00:00
parent 9d9cc9669c
commit 8a7deacd34
2 changed files with 13 additions and 0 deletions

View File

@ -20355,3 +20355,10 @@ Jeff 29 Nov 2004
sched/ sched/
assimilator.C assimilator.C
Jeff 29 Nov 2004
- Added back the "-noinsert" option, which had somehow disappeared.
sched/
assimilator.C

View File

@ -45,6 +45,7 @@ using std::vector;
SCHED_CONFIG config; SCHED_CONFIG config;
bool update_db = true; bool update_db = true;
bool noinsert = false;
#define SLEEP_INTERVAL 10 #define SLEEP_INTERVAL 10
@ -135,6 +136,11 @@ int main(int argc, char** argv) {
// your assimilator over and over again without affecting // your assimilator over and over again without affecting
// your project. // your project.
update_db = false; update_db = false;
} else if (!strcmp(argv[i], "-noinsert")) {
// This option is also for testing and is used to
// prevent the inserting of results into the *backend*
// (as opposed to the boinc) DB.
noinsert = true;
} else { } else {
log_messages.printf(SCHED_MSG_LOG::CRITICAL, "Unrecognized arg: %s\n", argv[i]); log_messages.printf(SCHED_MSG_LOG::CRITICAL, "Unrecognized arg: %s\n", argv[i]);
} }