Minor fixes in ClientId column tooltips (Threads/Cores)
This commit is contained in:
parent
415a5f5aac
commit
300acfb39d
2 changed files with 3 additions and 3 deletions
|
@ -227,7 +227,7 @@ function laststatus( data, type, row ) {
|
|||
}
|
||||
|
||||
function clientInfo( data, type, row ) {
|
||||
var tooltip = "CPU: " + row.client_status.cpu_brand;
|
||||
var tooltip = "CPU: " + row.client_status.cpu_brand + " [" + row.client_status.cpu_cores + " cores]";
|
||||
tooltip += '\n';
|
||||
tooltip += "CPU Flags: " + (row.client_status.cpu_has_aes ? "AES-NI " : "");
|
||||
tooltip += (row.client_status.cpu_is_x64 ? "x64" : "");
|
||||
|
@ -237,7 +237,7 @@ function clientInfo( data, type, row ) {
|
|||
tooltip += "Huge Pages: " + (row.client_status.hugepages_available ? " available, " : " unavailable, ");
|
||||
tooltip += (row.client_status.hugepages_enabled ? "enabled" : "disabled");
|
||||
tooltip += '\n';
|
||||
tooltip += "Threads: " + row.client_status.current_threads;
|
||||
tooltip += "Used Threads: " + row.client_status.current_threads;
|
||||
tooltip += (row.client_status.double_hash_mode ? " [double hash mode]" :"");
|
||||
tooltip += '\n';
|
||||
tooltip += "Client IP: " + row.client_status.external_ip;
|
||||
|
|
|
@ -82,7 +82,7 @@ CCClient::CCClient(const Options *options)
|
|||
|
||||
m_clientStatus.setCpuL2(Cpu::l2());
|
||||
m_clientStatus.setCpuL3(Cpu::l3());
|
||||
m_clientStatus.setCurrentThreads(Cpu::threads());
|
||||
m_clientStatus.setCurrentThreads(m_options->threads());
|
||||
|
||||
if (m_options->ccToken() != nullptr) {
|
||||
m_authorization = std::string("Bearer ") + m_self->m_options->ccToken();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue