mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 10:37:41 +08:00
update the name of nb_cores in the identify
This commit is contained in:
parent
75d1272325
commit
0667d940f9
@ -47,7 +47,7 @@ mod segment {
|
|||||||
json!({
|
json!({
|
||||||
"distribution": sys.name(),
|
"distribution": sys.name(),
|
||||||
"kernel_version": kernel_version,
|
"kernel_version": kernel_version,
|
||||||
"core_number": sys.processors().len(),
|
"cores": sys.processors().len(),
|
||||||
"ram_size": sys.total_memory(),
|
"ram_size": sys.total_memory(),
|
||||||
"disk_size": sys.disks().iter().map(|disk| disk.available_space()).max(),
|
"disk_size": sys.disks().iter().map(|disk| disk.available_space()).max(),
|
||||||
"server_provider": std::env::var("MEILI_SERVER_PROVIDER").ok(),
|
"server_provider": std::env::var("MEILI_SERVER_PROVIDER").ok(),
|
||||||
|
Loading…
Reference in New Issue
Block a user