We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-cpus <num>
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.
The text was updated successfully, but these errors were encountered:
$ imaginary -v 1.2.4
Sorry, something went wrong.
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: