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