mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-15 13:55:20 +00:00
add await for blocking loop in backend
This commit is contained in:
parent
0b4140f81c
commit
875f9b8586
1 changed files with 1 additions and 1 deletions
|
|
@ -26,5 +26,5 @@ export const main = async (db: PrismaClient, context: AppContext) => {
|
||||||
connectionManager.registerPollingCallback();
|
connectionManager.registerPollingCallback();
|
||||||
|
|
||||||
const repoManager = new RepoManager(db, DEFAULT_SETTINGS, redis, context);
|
const repoManager = new RepoManager(db, DEFAULT_SETTINGS, redis, context);
|
||||||
repoManager.blockingPollLoop();
|
await repoManager.blockingPollLoop();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue