// import { RedisPubSub } from 'graphql-redis-subscriptions';
import { PubSub } from 'graphql-subscriptions';

const pubsub = new PubSub();
/*
const pubsub = new RedisPubSub({
  connection: {
    host: 'redis.ralexanderson.com',
    port: 6379,
  },
});*/

export { pubsub };


// import { RedisPubSub } from 'graphql-redis-subscriptions';
import { PubSub } from "graphql-subscriptions";

const pubsub = new PubSub();
/*
const pubsub = new RedisPubSub({
  connection: {
    host: 'redis.ralexanderson.com',
    port: 6379,
  },
});*/

pubsub.ee.setMaxListeners(150);

export { pubsub };

Increase the max event listener count
Increase the max event listener count
