Sometimes CPU cores are odd
Published on , 32 words, 1 minutes to read
This post discusses how dividing an odd number of CPU cores by 2 in JavaScript creates decimal thread counts, causing invalid responses in Anubis. The fix truncates decimal values using Math.trunc.
Facts and circumstances may have changed since publication. Please contact me before jumping to conclusions if something seems wrong or unclear.
Tags: