Farhad Vildanov
Farhad Vildanov
How about this? ``` javascript class AbstractComponent extends React.Component { setStatePromise(newState) { return new Promise((resolve) => { this.setState(newState, () => { resolve(); }); }); } } ``` It's very useful...
I already had one, so, it was the simplest solution to add such function in it. And it's hard to add helper function (or mixin) in an ES6 environment, where...
> If an appropriate source of randomness cannot be found, an Exception will be thrown. https://secure.php.net/manual/en/function.random-bytes.php I agree with @felds and think it would be perfectly fine to catch \Exception...
Error handing was changed here: https://github.com/php-amqplib/php-amqplib/pull/599 You can see that exact same message ("Interrupted system call") was skipped as a normal behavior before 2.8.0. If you'll trace changes in error...
@lukebakken @alterphp I don't know if this issue can be re-open or I need to create a new one.
I use PHP 7.1 on Ubuntu and php-amqplib without RabbitMqBundle. I get this in logs when supervisord sends pcntl signals to consumers: ``` /vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php:473: stream_select(): unable to select [4]: Interrupted...
I just got that `[4]` - is `errno` mentioned in the error handing here, but logging format differs. ``` self::$ERRNO_EQUALS_EINTR = 'errno=' . SOCKET_EINTR; ``` And PHPStorm has this constant...
I've tried searching for PCNTL signals and had no luck. Thanks!
I am having same issue on 2.8.1 (migrated a few weeks ago from 2.7.2). Take a look here: https://github.com/php-amqplib/php-amqplib/commit/ef318f10927f5b5c1530ada9018a714571014352#diff-593ddf6cbc93f7e4518ba0d20c13a8d7R333 The message @alterphp mentions ("Interrupted system call") were skipped in the...
Sorry, I haven't seen that this is RabbitMqBundle issues. The issue is definitely in the php-amqplib, not in this bundle.