diff --git a/checkin_notes b/checkin_notes
index 1f31e498a9..93f7b0d8c6 100755
--- a/checkin_notes
+++ b/checkin_notes
@@ -25921,3 +25921,16 @@ David 12 Mar 2005
clientgui/
BOINCTaskCtrl.cpp,h
VewProjects.cpp
+
+David 13 Mar 2005
+ - scheduler: add nowork_skip configuration flag.
+ If set, and there's no work, return from RPC
+ without looking up user/host records.
+ (this was previously the default. It no longer is)
+ - scheduler: if using locality scheduling, never set "have_no_work"
+ - scheduler: replace "Einstein" by "this project" in message
+
+ sched/
+ handle_request.C
+ sched_config.C,h
+ sched_send.C
diff --git a/doc/configuration.php b/doc/configuration.php
index 354e909dea..7bce3afeff 100644
--- a/doc/configuration.php
+++ b/doc/configuration.php
@@ -48,6 +48,9 @@ htmlspecialchars("
[
Click the 'Add' button. -This will produce a new sheet in which you can paste in the URL and Account ID. +This will produce a dialog in which you can paste in the URL and Account Key.
@@ -109,7 +109,8 @@ This is particularly convenient if you want to change a project's preferences or
(Figure 6)
-Once BOINC Menubar has some projects to run, you can now use the menu to start and stop BOINC. +Once BOINC Menubar has some projects to run, you can now use the menu +to start and stop BOINC.
To start BOINC running, simply select 'Start' from the status menu.
BOINC will start running in the background.
@@ -149,7 +150,8 @@ the amount will be updated next time the project contacts its web site.
(Figure 8)
-Select 'Start BOINC On Application Launch' if you which BOINC to start running every time you open BOINC Menubar. +Select 'Start BOINC On Application Launch' if you want BOINC to start +running every time you open BOINC Menubar. You might find this particularly useful if you want BOINC to be running all the time.
diff --git a/doc/source/.htaccess b/doc/source/.htaccess
deleted file mode 100644
index 3b7de17b81..0000000000
--- a/doc/source/.htaccess
+++ /dev/null
@@ -1,2 +0,0 @@
-Options Index ExecCGI
-
diff --git a/sched/handle_request.C b/sched/handle_request.C
index 6a01f2f72b..585709f125 100644
--- a/sched/handle_request.C
+++ b/sched/handle_request.C
@@ -864,15 +864,21 @@ void process_request(
warn_user_if_core_client_upgrade_scheduled(sreq, reply);
}
+ if (config.locality_scheduling) {
+ have_no_work = false;
+ } else {
+ lock_sema();
+ have_no_work = ss.no_work(g_pid);
+ unlock_sema();
+ }
+
// if there's no work, and client isn't returning results,
// this isn't an initial RPC,
// and client is requesting work, return without accessing DB
//
- lock_sema();
- have_no_work = ss.no_work(g_pid);
- unlock_sema();
-
- if ((sreq.work_req_seconds > 0)
+ if (
+ config.nowork_skip
+ && (sreq.work_req_seconds > 0)
&& have_no_work
&& (sreq.results.size() == 0)
&& (sreq.hostid != 0)
diff --git a/sched/sched_config.C b/sched/sched_config.C
index 8818abeac3..dd07ba63be 100644
--- a/sched/sched_config.C
+++ b/sched/sched_config.C
@@ -94,6 +94,7 @@ int SCHED_CONFIG::parse(char* buf) {
parse_int(buf, "