diff --git a/CHANGELOG.md b/CHANGELOG.md index c5e8e66..6d2d33a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -139,7 +139,7 @@ affected by any BC breaks, see below for more details. `ConnectorInterface` and then update to this version without causing a BC break. -* BC break: Remove uneeded `data` event and support for advanced `MONITOR` +* BC break: Remove unneeded `data` event and support for advanced `MONITOR` command for performance and consistency reasons and remove underdocumented `isBusy()` method. (#62, #63 and #64 by @clue) diff --git a/README.md b/README.md index b143811..98be7a5 100644 --- a/README.md +++ b/README.md @@ -291,7 +291,7 @@ create a new underlying connection if this idle time is expired. From a consumer side this means that you can start sending commands to the database right away while the underlying connection may still be outstanding. Because creating this underlying connection may take some -time, it will enqueue all oustanding commands and will ensure that all +time, it will enqueue all outstanding commands and will ensure that all commands will be executed in correct order once the connection is ready. If the underlying database connection fails, it will reject all diff --git a/src/RedisClient.php b/src/RedisClient.php index 6fa991c..bfe9ac8 100644 --- a/src/RedisClient.php +++ b/src/RedisClient.php @@ -90,7 +90,7 @@ private function client(): PromiseInterface $redis->on('close', function () { $this->promise = null; - // foward unsubscribe/punsubscribe events when underlying connection closes + // forward unsubscribe/punsubscribe events when underlying connection closes $n = count($this->subscribed); foreach ($this->subscribed as $channel => $_) { $this->emit('unsubscribe', [$channel, --$n]);