Ref: Use Lombok annot's to minimize code.
This commit is contained in:
committed by
Sheepit Renderfarm
parent
e0991622bf
commit
dd0d50582f
@@ -659,7 +659,7 @@ import okhttp3.HttpUrl;
|
||||
StringBuilder logHeader = new StringBuilder()
|
||||
.append("====================================================================================================\n")
|
||||
.append(String.format("%s / %s / %s / SheepIt v%s\n", conf.getLogin(), conf.getHostname(), OS.getOS().name(), Configuration.jarVersion))
|
||||
.append(String.format("%s x%d %.1f GB RAM\n", cpu.name(), conf.getNbCores(), conf.getMaxAllowedMemory() / 1024.0 / 1024.0));
|
||||
.append(String.format("%s x%d %.1f GB RAM\n", cpu.getName(), conf.getNbCores(), conf.getMaxAllowedMemory() / 1024.0 / 1024.0));
|
||||
|
||||
if (conf.getComputeMethod() == Configuration.ComputeType.GPU || conf.getComputeMethod() == Configuration.ComputeType.CPU_GPU) {
|
||||
logHeader.append(String.format("%s %s %.1f GB VRAM\n", conf.getGPUDevice().getId(), conf.getGPUDevice().getModel(),
|
||||
|
||||
Reference in New Issue
Block a user