mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=4683
This commit is contained in:
parent
9d9cc9669c
commit
8a7deacd34
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue