diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-22 18:09:14 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-22 18:09:14 +0300 |
commit | 3a8d221b7e3dc909876fe60ac267e63d1ffffdd7 (patch) | |
tree | 413b11d1687aa52f8929dda7fbca655ff9938a0b /app/assets/javascripts/actioncable_consumer.js | |
parent | a27c21b5af4f60ff11706f85289065272c616a0c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/actioncable_consumer.js')
-rw-r--r-- | app/assets/javascripts/actioncable_consumer.js | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/app/assets/javascripts/actioncable_consumer.js b/app/assets/javascripts/actioncable_consumer.js index aeb61e61a3d..5658ffc1a38 100644 --- a/app/assets/javascripts/actioncable_consumer.js +++ b/app/assets/javascripts/actioncable_consumer.js @@ -1,10 +1,3 @@ import { createConsumer } from '@rails/actioncable'; -import ConnectionMonitor from './actioncable_connection_monitor'; -const consumer = createConsumer(); - -if (consumer.connection) { - consumer.connection.monitor = new ConnectionMonitor(consumer.connection); -} - -export default consumer; +export default createConsumer(); |