Commit Graph

102 Commits

Author SHA1 Message Date
Bruce Allen 57d412e804 messages containing newlines were being lost when sent to 4.19
core clients. Fix strips newlines from messages sent to clients
<= 4.19.  NOTE: stripping may ALSO be needed for more recent
clients.  But it would be better to fix the clients so that
embedded newlines in messages are respected.

svn path=/trunk/boinc/; revision=5543
2005-02-28 21:58:27 +00:00
Bruce Allen b3f75a8aee - Bug fixes to scheduler code
- For locality scheduler, if anonymous platform lacks app, don't do deterministic
      search for work!
    - For locality scheduler, remove 'unsent' constraint from initial query so that
      existing index in result table can be used to perform a more efficient search.
    - Send multi-message replies to core clients > 4.19
    - Change 'no work available' message to 'no work sent' since this is often due
      to constraints at the client end, NOT lack of work at project end.

svn path=/trunk/boinc/; revision=5492
2005-02-22 17:37:03 +00:00
David Anderson 8d0ab453b3 *** empty log message ***
svn path=/trunk/boinc/; revision=5443
2005-02-16 23:17:43 +00:00
Bruce Allen 15c5fd2f11 Add curly brackets a la David
svn path=/trunk/boinc/; revision=5439
2005-02-16 01:26:43 +00:00
Bruce Allen 52d0c274c1 More sensible use of request_delay. If a host contacts the
scheduler, and fails to get work because there are N secs
      of pending work, then send a delay request of min(3600, N/5) secs.
      Otherwise the same host was coming back every hour, without being able
      to get additional work.
Implemented by adding a method set_delay() to
      SCHEDULER_REQUEST. This sets the delay to the maximum of the
      previous requested delay or the current requested delay. The
      delay is NEVER set longer than two days.

svn path=/trunk/boinc/; revision=5437
2005-02-16 01:14:12 +00:00
David Anderson 0ddf2ed101 *** empty log message ***
svn path=/trunk/boinc/; revision=5423
2005-02-14 04:39:07 +00:00
Bruce Allen 7a68df5b2a Got rid of annoying 'no <host_venue>' tag messages from scheduler
svn path=/trunk/boinc/; revision=5399
2005-02-11 05:45:49 +00:00
Bruce Allen 02d0ac6fd8 Don't send an empty message if there is no message to send.
svn path=/trunk/boinc/; revision=5274
2005-02-02 15:16:59 +00:00
Bruce Allen 1d9d71cce4 Fixed trivial bug in scheduler which caused messages sent to clients
< 4.62 to be interchanged with their priority.  So if the message was
supposed to be 'No work available' with priority 'low', the actual

svn path=/trunk/boinc/; revision=5273
2005-02-02 14:43:22 +00:00
David Anderson 5b015af00f *** empty log message ***
svn path=/trunk/boinc/; revision=5264
2005-02-01 20:30:33 +00:00
David Anderson 4a0fb78aa6 *** empty log message ***
svn path=/trunk/boinc/; revision=5258
2005-01-31 23:20:49 +00:00
David Anderson 896d0b8a46 *** empty log message ***
svn path=/trunk/boinc/; revision=5257
2005-01-31 22:19:03 +00:00
Bruce Allen 60c569a644 Extended scheduler run-time debug option to include writing of requests as
well as replies to a file.

svn path=/trunk/boinc/; revision=5248
2005-01-31 16:10:49 +00:00
David Anderson 3521428f85 *** empty log message ***
svn path=/trunk/boinc/; revision=5234
2005-01-28 18:27:00 +00:00
David Anderson e1c65eb341 *** empty log message ***
svn path=/trunk/boinc/; revision=5228
2005-01-27 23:09:19 +00:00
David Anderson 435f8edd47 *** empty log message ***
svn path=/trunk/boinc/; revision=5161
2005-01-20 23:22:22 +00:00
David Anderson b7a7cd825f *** empty log message ***
svn path=/trunk/boinc/; revision=5151
2005-01-20 18:50:49 +00:00
Bruce Allen f31b244f90 Modified CVS id strings. After some fussing with different versions
of gcc to try and force them to not complain with -Wall but to always
include this, I decided to take a simpler approach.  All these strings
now have global linkage.  To prevent namespace conflicts they all
have different names.  For the record, the variable extension is a hash made of the first ten characters of the md5sum of the file path, eg:
    md5hash=`boinc/api/x_opengl.C | md5sum | cut -c 1-10`

svn path=/trunk/boinc/; revision=4979
2005-01-02 18:29:53 +00:00
Bruce Allen a24afe2b67 Moved RCSID strings to the end of all .c, .C and .cpp files as per
David's request.

svn path=/trunk/boinc/; revision=4787
2004-12-08 00:40:19 +00:00
David Anderson 2c5f1d1a5b *** empty log message ***
svn path=/trunk/boinc/; revision=4772
2004-12-06 22:41:19 +00:00
Bruce Allen 45525eade1 - Added static volatile const char *BOINCrcsid="$Id$"; string to
the top of all .C files.  This means that 'string' or 'ident'
run on an executable will tell you the exact file versions used
in building it, since CVS replaces $Id$ with a complete version ID
string.  Declaration is volatile so that the compiler won't remove
it even under agressive optimizations.

svn path=/trunk/boinc/; revision=4610
2004-11-20 07:32:32 +00:00
David Anderson 49b256f338 *** empty log message ***
svn path=/trunk/boinc/; revision=4280
2004-10-01 07:49:01 +00:00
David Anderson a9fee1bd8a *** empty log message ***
svn path=/trunk/boinc/; revision=4252
2004-09-27 20:09:49 +00:00
David Anderson 900042214d *** empty log message ***
svn path=/trunk/boinc/; revision=4251
2004-09-27 19:44:40 +00:00
David Anderson 161fb2868f *** empty log message ***
svn path=/trunk/boinc/; revision=4189
2004-09-13 18:05:54 +00:00
David Anderson e01aa9de45 *** empty log message ***
svn path=/trunk/boinc/; revision=4182
2004-09-10 21:02:11 +00:00
David Anderson 89b723e2d1 *** empty log message ***
svn path=/trunk/boinc/; revision=4067
2004-08-16 11:31:59 +00:00
Rom Walton 229c791dd4 *** empty log message ***
svn path=/trunk/boinc/; revision=4061
2004-08-14 00:37:38 +00:00
David Anderson a5338d1658 *** empty log message ***
svn path=/trunk/boinc/; revision=4058
2004-08-13 11:21:12 +00:00
David Anderson 652d7d3986 *** empty log message ***
svn path=/trunk/boinc/; revision=4054
2004-08-12 13:36:05 +00:00
Brian Boshes 13200c3f4c *** empty log message ***
svn path=/trunk/boinc/; revision=3999
2004-08-05 22:14:23 +00:00
Daniel Hsu 1eb4a7a622 *** empty log message ***
svn path=/trunk/boinc/; revision=3972
2004-08-03 22:52:10 +00:00
Rom Walton 551d12b00c *** empty log message ***
svn path=/trunk/boinc/; revision=3970
2004-08-03 21:51:30 +00:00
Daniel Hsu fcb2a85388 *** empty log message ***
svn path=/trunk/boinc/; revision=3939
2004-07-22 18:56:54 +00:00
Karl Chen afd778de8a *** empty log message ***
svn path=/trunk/boinc/; revision=3863
2004-07-13 13:54:09 +00:00
David Anderson 83c300795d message_hangler.C
svn path=/trunk/boinc/; revision=3837
2004-07-10 00:11:20 +00:00
Daniel Hsu 7879fe53e6 *** empty log message ***
svn path=/trunk/boinc/; revision=3801
2004-07-06 21:51:49 +00:00
David Anderson ce6210cff4 *** empty log message ***
svn path=/trunk/boinc/; revision=3784
2004-07-06 04:10:51 +00:00
David Anderson 290f54e6eb server_types.C
svn path=/trunk/boinc/; revision=3698
2004-06-24 21:00:13 +00:00
David Anderson 57f2aec66d *** empty log message ***
svn path=/trunk/boinc/; revision=3688
2004-06-22 22:56:50 +00:00
David Anderson 6769f9f1e5 *** empty log message ***
svn path=/trunk/boinc/; revision=3375
2004-05-13 04:48:19 +00:00
David Anderson 7615fe72fa *** empty log message ***
svn path=/trunk/boinc/; revision=3312
2004-05-03 02:18:35 +00:00
David Anderson a211c97bd0 *** empty log message ***
svn path=/trunk/boinc/; revision=3311
2004-05-02 15:55:17 +00:00
David Anderson 7e749941e5 *** empty log message ***
svn path=/trunk/boinc/; revision=3310
2004-04-30 23:18:56 +00:00
David Anderson dbe8420aad *** empty log message ***
svn path=/trunk/boinc/; revision=3309
2004-04-30 19:33:05 +00:00
David Anderson 00191f0456 *** empty log message ***
svn path=/trunk/boinc/; revision=3308
2004-04-30 18:26:20 +00:00
David Anderson 1e13d8e1d9 *** empty log message ***
svn path=/trunk/boinc/; revision=3271
2004-04-18 18:40:13 +00:00
David Anderson 1aa4230d9a *** empty log message ***
svn path=/trunk/boinc/; revision=3263
2004-04-14 23:32:17 +00:00
David Anderson 4909e2a966 *** empty log message ***
svn path=/trunk/boinc/; revision=3249
2004-04-11 20:20:32 +00:00
David Anderson dd51f9ea18 *** empty log message ***
svn path=/trunk/boinc/; revision=3232
2004-04-08 08:15:23 +00:00