Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ matrix:

git:
submodules: false

before_install:
- gem update bundler
- gem update --system
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### 0.7.4 (Next)

* Your contribution here.
* [#93](https://github.com/dblock/slack-ruby-client/pull/93): Fix: When using Celluloid concurrency, handle input from the TCP socket asynchronously from reading more. - [@benzrf](https://github.com/benzrf).

### 0.7.3 (5/14/2016)

Expand Down
4 changes: 4 additions & 0 deletions lib/slack/real_time/concurrency/celluloid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ def close

def read
buffer = socket.readpartial(BLOCK_SIZE)
async.handle_read(buffer)
end

def handle_read(buffer)
logger.debug("#{self.class}##{__method__}") { buffer }
driver.parse buffer
end
Expand Down