mirror of https://github.com/BOINC/boinc.git
- scheduler: send <no_rsc_apps> elements to post-7.0.40 clients
This commit is contained in:
parent
64d7fa3474
commit
eac1264656
|
@ -899,7 +899,7 @@ int SCHEDULER_REPLY::write(FILE* fout, SCHEDULER_REQUEST& sreq) {
|
|||
fprintf(fout, "%s", file_transfer_requests[i].c_str());
|
||||
}
|
||||
|
||||
if (g_request->core_client_version < 73000) {
|
||||
if (g_request->core_client_version < 70040) {
|
||||
fprintf(fout,
|
||||
"<no_cpu_apps>%d</no_cpu_apps>\n"
|
||||
"<no_cuda_apps>%d</no_cuda_apps>\n"
|
||||
|
@ -908,7 +908,7 @@ int SCHEDULER_REPLY::write(FILE* fout, SCHEDULER_REQUEST& sreq) {
|
|||
ssp->have_apps_for_proc_type[PROC_TYPE_NVIDIA_GPU]?0:1,
|
||||
ssp->have_apps_for_proc_type[PROC_TYPE_AMD_GPU]?0:1
|
||||
);
|
||||
} else {
|
||||
}
|
||||
for (i=0; i<NPROC_TYPES; i++) {
|
||||
if (!ssp->have_apps_for_proc_type[i]) {
|
||||
fprintf(fout,
|
||||
|
@ -917,7 +917,6 @@ int SCHEDULER_REPLY::write(FILE* fout, SCHEDULER_REQUEST& sreq) {
|
|||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
gui_urls.get_gui_urls(user, host, team, buf);
|
||||
fputs(buf, fout);
|
||||
if (project_files.text) {
|
||||
|
|
Loading…
Reference in New Issue