Open shivaraj-bh opened 8 months ago
Here’s the command used to start the server:
imaginary -a=localhost -p=8088 -cpus=1
And this is what I get when I call the health endpoint:
$ curl 127.0.0.1:8088/health {"uptime":18,"allocatedMemory":0.6,"totalAllocatedMemory":0.6,"goroutines":6,"completedGCCycles":0,"cpus":4,"maxHeapUsage":3.69,"heapInUse":0.6,"objectsInUse":1217,"OSMemoryObtained":7.35}
As you can see in the output, the number of cpus is still 4.
$ imaginary -v 1.2.4
Here’s the command used to start the server:
And this is what I get when I call the health endpoint:
As you can see in the output, the number of cpus is still 4.