WORK_FETCH_DONT_NEED Unimplemented in Project initialization

Message boards : BOINC client : WORK_FETCH_DONT_NEED Unimplemented in Project initialization
Message board moderation

To post messages, you must log in.

AuthorMessage
DJStarfox

Send message
Joined: 19 Jul 07
Posts: 17
Message 11935 - Posted: 3 Aug 2007, 4:23:52 UTC

Hi,

This is a feature request, but maybe a bug?

I would like a feature to NOT download any new work when attaching a project. This looks tricky but hopefully a genius coder out there can make it a one-liner.

In the code client_state.h:
WORK_FETCH_DONT_NEED is defined as 0

...so a project will not get new work.

The constructor for class PROJECT in client_types.c sets:
work_request_urgency = WORK_FETCH_DONT_NEED;
dont_request_more_work = false;

However, the code when attaching a project requests 1 second of new work ALWAYS.

After the project's "communication deferred" expires, the "[state_debug] set dirty:" will cause the policy to revisit and (most likely) download work. At least that will give time to set no new tasks on the project. Downloading project files (graphics, readme, etc.) would be fine, just no new work!

Ideally, this would be a global preference or a flag in the cc_config.xml file.
ID: 11935 · Report as offensive
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 11936 - Posted: 3 Aug 2007, 5:07:36 UTC

I believe it's been requested before. It might already be entered into Trac. You can search there.

Register and you can enter an enhancement ticket. Link in my sig.
Kathryn :o)
ID: 11936 · Report as offensive

Message boards : BOINC client : WORK_FETCH_DONT_NEED Unimplemented in Project initialization

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.