(core) resolved some divergence in mergedServerMain

This commit is contained in:
Paul Fitzpatrick
2023-07-10 07:50:52 -04:00
8 changed files with 81 additions and 49 deletions

View File

@@ -1132,7 +1132,6 @@ export class FlexServer implements GristServer {
await this.loadConfig();
this.addComm();
await this.create.configure?.();
if (!isSingleUserMode()) {
const externalStorage = appSettings.section('externalStorage');
const haveExternalStorage = Object.values(externalStorage.nested)
@@ -1143,6 +1142,7 @@ export class FlexServer implements GristServer {
this._disableExternalStorage = true;
externalStorage.flag('active').set(false);
}
await this.create.configure?.();
const workers = this._docWorkerMap;
const docWorkerId = await this._addSelfAsWorker(workers);