Skip to content

Commit 7a09bda

Browse files
authored
Fix provisioner starting multiple times (#751)
* Move the provisioner start clause * changelog
1 parent f8d187e commit 7a09bda

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

changelog.d/751.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix the provisioner staring once per bridged room.

src/Main.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,6 +1236,9 @@ export class Main {
12361236
}, ONE_HOUR);
12371237
await this.updateActivityMetrics();
12381238
}
1239+
1240+
// Start the provisioner API
1241+
await this.provisioner.start();
12391242
await puppetsWaiting;
12401243
await teamSyncPromise;
12411244

@@ -1304,8 +1307,6 @@ export class Main {
13041307
room.MatrixRoomActive = false;
13051308
}
13061309
}
1307-
1308-
await this.provisioner.start();
13091310
}
13101311

13111312
public async getChannelInfo(

0 commit comments

Comments
 (0)