mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-16 23:40:32 +00:00
Add call to startListeningForUpdates()
This commit is contained in:
@@ -111,6 +111,7 @@ export class InterchangeSystem {
|
||||
let etaRepository: BaseRedisETARepository;
|
||||
if (args.useSelfUpdatingEtas) {
|
||||
etaRepository = new RedisSelfUpdatingETARepository(shuttleRepository);
|
||||
(etaRepository as RedisSelfUpdatingETARepository).startListeningForUpdates();
|
||||
} else {
|
||||
etaRepository = new RedisExternalSourceETARepository();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user