chore: Move agent availability to Account level (#3074)

- Move agent availability to the account level
This commit is contained in:
Sojan Jose 2021-10-07 13:21:46 +05:30 committed by GitHub
parent 1c6a539c0a
commit c54aae21ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
84 changed files with 618 additions and 148 deletions

View file

@ -1,6 +1,6 @@
import { createConsumer } from '@rails/actioncable';
const PRESENCE_INTERVAL = 60000;
const PRESENCE_INTERVAL = 20000;
class BaseActionCableConnector {
constructor(app, pubsubToken, websocketHost = '') {