T. Todua

Results 545 comments of T. Todua

Thanks for report, I confirm it was missing. added a reference PR , which will fix it.

thanks ! btw, so just anyway (for other purposes) is there any way to find out if current script is being executed inside coroutine or not? (you can close the...

However, I have to recommend you to make a critical note with regard to `sleep`. The reason I've mentioned the fail-safe 'sleep' function (in the first post), is that is...

@twose Uh-oh, yes, there should be multiplier, not divisor , of 1000000. my stupid mistake :)

But I meant about Sleep's misbehavior when called within or outside coroutine, they provide different results.

> @ttodua Use `Swoole\Coroutine::getCid()`, if return -1, that means it is not in coroutine May I ask? It has a bug. I see that typically, it should work - tested...

> All pngoo does is launch pngquant command line. It does nothing else. Then how to explain, that when I compressing [this file ](https://puvox.software/a1.png) with with PNGoo, i get 5kb...

that's why I am surprised too. and that's why I've linked the example PNG file, and you can see yourself that it will produce unexpected results. I mean, with PNGoo...