File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
ee/packages/federation-matrix/src Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -101,17 +101,12 @@ export function configureFederationMatrixSettings(settings: {
101101}
102102
103103export async function setupFederationMatrix ( ) {
104- // TODO are these required?
105- const mongoUri = process . env . MONGO_URL || 'mongodb://localhost:3001/meteor' ;
106- const dbName = process . env . DATABASE_NAME || new URL ( mongoUri ) . pathname . slice ( 1 ) ;
107-
108104 const eventHandler = new Emitter < HomeserverEventSignatures > ( ) ;
109105
110106 await init ( {
111107 emitter : eventHandler ,
112108 dbConfig : {
113- uri : mongoUri ,
114- name : dbName ,
109+ uri : process . env . MONGO_URL || 'mongodb://localhost:3001/meteor' ,
115110 poolSize : Number . parseInt ( process . env . DATABASE_POOL_SIZE || '10' , 10 ) ,
116111 } ,
117112 } ) ;
You can’t perform that action at this time.
0 commit comments