Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Merge pull request #26714 from matthewd/close-race | Matthew Draper | 2016-10-07 | 4 | -10/+11 | |
|\ \ \ | | | | | | | | | Work around read/close race (x2) | |||||
| * | | | Wait for the socket to be closed asynchronously | Matthew Draper | 2016-10-06 | 1 | -2/+10 | |
| | | | | ||||||
| * | | | Use a branch of websocket-client-simple, to work around read/close race | Matthew Draper | 2016-10-06 | 1 | -7/+0 | |
| | | | | ||||||
| * | | | Close the IO from the read loop thread | Matthew Draper | 2016-10-06 | 2 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IO#close and IO#read across threads don't get along so well: After T1 enters #read and releases the GVL, T2 can call #close on the IO, thereby both closing the fd and freeing the buffer while T1 is using them. | |||||
* | | | | Change page:change to turbolinks:load in README.md [ci skip] | kenta-s | 2016-10-05 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Don't shut down adapters that haven't been set | Matthew Draper | 2016-10-04 | 1 | -1/+1 | |
| | | | | | | | | | | | | We hit when we skip the PostgreSQL adapter. | |||||
* | | | Shut down the worker pool - don't kill it | Matthew Draper | 2016-10-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | Different parts of concurrent-ruby's documentation make inconsistent claims about how kill will behave. It doesn't do the thing we want. | |||||
* | | | Add tests for Server::Base#restart | Jon Moss | 2016-10-02 | 1 | -0/+33 | |
| | | | ||||||
* | | | Move behavior to Server::Base, and flush pubsub | Jon Moss | 2016-10-02 | 2 | -3/+6 | |
| | | | ||||||
* | | | Shutdown pubsub connection before classes are reloaded | Jon Moss | 2016-10-02 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this patch, if you were to make a file edit in your Rails application and you tried to load up the page, it would hang indefinitely. The issue is that Active Record is trying to cleanup after itself and clear all active connection, but Action Cable is still holding onto a connection from the pool. To resolve this, we are now shutting down the pubsub adapter before classes are reloaded, to avoid this altogether (connection is being returned to the pool). Credits to @skateman for discovering this bug. :) | |||||
* | | | Use websocket-client-simple instead of Faye as a websockets client | Matthew Draper | 2016-10-02 | 1 | -57/+81 | |
| | | | | | | | | | | | | | | | | | | Mostly, this is just to avoid EventMachine. But there's also an argument to be made that we're better off using a different protocol library for our test suite than the one we use to implement the server. | |||||
* | | | Shut down EventMachine before re-enabling warnings | Matthew Draper | 2016-10-02 | 2 | -0/+9 | |
| | | | ||||||
* | | | In-line the configuration points that only existed for Faye support | Matthew Draper | 2016-10-01 | 5 | -13/+4 | |
| | | | ||||||
* | | | Remove Faye mode | Matthew Draper | 2016-10-01 | 10 | -168/+7 | |
| | | | | | | | | | | | | No deprecation, because it was never documented. | |||||
* | | | Merge pull request #26547 from ↵ | Matthew Draper | 2016-10-01 | 9 | -24/+83 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | palkan/fix/actioncable-confirmation-race-condition Avoid race condition on subscription confirmation | |||||
| * | | | Add Channel#ensure_confirmation_sent; call #subscribe_to_channel after ↵ | palkan | 2016-09-22 | 7 | -33/+39 | |
| | | | | | | | | | | | | | | | | initializing | |||||
| * | | | [Fix #25381] Avoid race condition on subscription confirmation | palkan | 2016-09-20 | 6 | -15/+60 | |
| | | | | ||||||
* | | | | Buffer writes to the cable sockets | Matthew Draper | 2016-09-28 | 4 | -12/+100 | |
| |/ / |/| | | | | | | | | | | | Otherwise, they can sometimes block, leading to reduced system throughput. | |||||
* | | | [ci skip] Fix formatting of documentation of worker_pool method from ↵ | Prathamesh Sonpatki | 2016-09-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | AC::Server::Base | |||||
* | | | [ci skip] Fix formatting in Action Cable Connection::Base module docs | Prathamesh Sonpatki | 2016-09-07 | 1 | -1/+1 | |
| | | | ||||||
* | | | [ci fix] Fix API documentation for Streams module from Action Cable | Prathamesh Sonpatki | 2016-09-06 | 1 | -4/+4 | |
|/ / | ||||||
* | | fixes remaining RuboCop issues [Vipul A M, Xavier Noria] | Xavier Noria | 2016-09-01 | 2 | -2/+2 | |
| | | ||||||
* | | Prevent invocation of channel action if rejected connection | Jon Moss | 2016-08-19 | 2 | -1/+16 | |
| | | | | | | | | | | | | | | | | | | Fixes #23757. Before this commit, even if `reject` was called in the `subscribe` method for an Action Cable channel, all actions on that channel could still be invoked. This calls a `return` if a rejected connection tries to invoke any actions on the channel. | |||||
* | | Add three new rubocop rules | Rafael Mendonça França | 2016-08-16 | 3 | -26/+26 | |
| | | | | | | | | | | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository. | |||||
* | | Pass over changelogs [ci skip] | Vipul A M | 2016-08-10 | 1 | -1/+1 | |
| | | ||||||
* | | revises more Lint/EndAlignment offenses | Xavier Noria | 2016-08-08 | 1 | -6/+6 | |
| | | ||||||
* | | copy-edits an exception message | Xavier Noria | 2016-08-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inserted spaces in the name of Rails components. Since I was on it, also used PostgreSQL instead of Postgres because albeit Postgres is an accepted alias, PostgreSQL is the official name and the actual name of the adapter. See https://wiki.postgresql.org/wiki/ProjectName with regard to PostgreSQL vs Postgres. | |||||
* | | Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty lines | Ryuta Kamizono | 2016-08-07 | 2 | -3/+0 | |
| | | ||||||
* | | applies remaining conventions across the project | Xavier Noria | 2016-08-06 | 2 | -4/+3 | |
| | | ||||||
* | | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 2 | -4/+4 | |
| | | ||||||
* | | remove redundant curlies from hash arguments | Xavier Noria | 2016-08-06 | 5 | -7/+7 | |
| | | ||||||
* | | modernizes hash syntax in actioncable | Xavier Noria | 2016-08-06 | 1 | -2/+2 | |
| | | ||||||
* | | applies new string literal convention to the rest of the project | Xavier Noria | 2016-08-06 | 1 | -6/+6 | |
| | | | | | | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | |||||
* | | applies new string literal convention in the gemspecs | Xavier Noria | 2016-08-06 | 1 | -14/+14 | |
| | | | | | | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | |||||
* | | applies new string literal convention in actioncable/test | Xavier Noria | 2016-08-06 | 29 | -260/+260 | |
| | | | | | | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | |||||
* | | applies new string literal convention in actioncable/lib | Xavier Noria | 2016-08-06 | 28 | -90/+90 | |
| | | | | | | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | |||||
* | | Give importance to rails command in the comment section. | Santosh Wadghule | 2016-07-13 | 1 | -1/+1 | |
| | | ||||||
* | | Correct changelog layout | Matthew Draper | 2016-07-09 | 1 | -8/+8 | |
| | | | | | | | | [ci skip] | |||||
* | | Insert changelog entry for #25615 | Matthew Draper | 2016-07-09 | 1 | -0/+7 | |
| | | ||||||
* | | Merge pull request #25624 from tinco/actioncable_write_race | Matthew Draper | 2016-07-09 | 2 | -2/+12 | |
|\ \ | | | | | | | | | | Fix race condition in websocket stream write | |||||
| * | | fix race condition in websocket stream write | Tinco Andringa | 2016-07-01 | 1 | -0/+4 | |
| | | | ||||||
* | | | Merge pull request #24988 from mwear/action_cable_broadcast_notifications | Matthew Draper | 2016-07-04 | 3 | -6/+58 | |
|\ \ \ | | | | | | | | | Add ActiveSupport::Notifications hook to ActionCable::Server.broadcast | |||||
| * | | | Add ActiveSupport::Notifications hook to Broadcaster#broadcast | Matthew Wear | 2016-05-12 | 3 | -6/+58 | |
| | | | | | | | | | | | | | | | | | | | | This addition of this notification hook will give users better visibility into the messages being sent over the PubSub adapter. | |||||
* | | | | Merge pull request #25030 from mmmpa/pull_request | Matthew Draper | 2016-07-04 | 2 | -1/+22 | |
|\ \ \ \ | | | | | | | | | | | ActionCable, sometimes add_channel is not called. | |||||
| * | | | | Add guard to broadcast. | mmmpa | 2016-05-26 | 2 | -1/+22 | |
| | | | | | ||||||
* | | | | | Merge pull request #25293 from y-yagi/remove_needless_comments | Matthew Draper | 2016-07-03 | 3 | -5/+0 | |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | remove needless comments | |||||
| * | | | | remove needless comments | yuuji.yaginuma | 2016-06-06 | 3 | -5/+0 | |
| | | | | | | | | | | | | | | | | | | | | Follow up to #25240. | |||||
* | | | | | close hijacked i/o socket after use (fixes #25613) | Tinco Andringa | 2016-07-01 | 2 | -0/+15 | |
| |_|_|/ |/| | | | ||||||
* | | | | Periodic timers: delegate async instance_exec to the worker pool | Jeremy Daer | 2016-06-29 | 2 | -7/+9 | |
| | | | | ||||||
* | | | | Merge pull request #24991 from maclover7/actioncable-npm-docs | Vipul A M | 2016-06-29 | 1 | -0/+68 | |
|\ \ \ \ | | | | | | | | | | | Add documentation about Action Cable npm package |