Open davidjsherman opened 8 years ago
The connection dot in Scratch blinks red at 1-second intervals. It is annoying but does not seem to affect throughput. If one replaces sleep(timeout) by sleep(50) in HttpInterface::run1s, the problem goes away — but it isn't obvious why.
sleep(timeout)
sleep(50)
HttpInterface::run1s
The connection dot in Scratch blinks red at 1-second intervals. It is annoying but does not seem to affect throughput. If one replaces
sleep(timeout)
bysleep(50)
inHttpInterface::run1s
, the problem goes away — but it isn't obvious why.