-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
switchblade-next/src/structures/base/Switchblade.js
Lines 49 to 54 in 1ff7bad
| // TODO: Find a way to capture initialization events | |
| // Currently, the RedisListener is only loaded after Tedis tries to connect, which | |
| // leads to it not capturing the first connection events. | |
| this.logger.info('Initializing Redis', { label: 'Redis' }) | |
| this.redis = new Tedis({ | |
| host: process.env.REDIS_SERVICE_HOST || process.env.REDIS_HOST || 'redis', |