update the name of nb_cores in the identify

This commit is contained in:
Tamo 2021-10-18 17:00:33 +02:00 committed by marin postma
parent 75d1272325
commit 0667d940f9
No known key found for this signature in database
GPG Key ID: 6088B7721C3E39F9

View File

@ -47,7 +47,7 @@ mod segment {
json!({
"distribution": sys.name(),
"kernel_version": kernel_version,
"core_number": sys.processors().len(),
"cores": sys.processors().len(),
"ram_size": sys.total_memory(),
"disk_size": sys.disks().iter().map(|disk| disk.available_space()).max(),
"server_provider": std::env::var("MEILI_SERVER_PROVIDER").ok(),