matrix-public-archive/server
Eric Eastwood f738dbc1da
Stop Hydrogen from running in the background after we get our SSR HTML render data (#36)
We now run the Hydrogen render in a `child_process` so we can exit the whole render process. We still use the `vm` to setup the browser-like globals. With a `vm`, everything continues to run even after it returns and there isn't a way to clean up, stop, kill, terminate the vm script or context so we need this extra `child_process` now to clean up. I don't like the complexity necessary for this though. I wish the `vm` API allowed for this use case. The only way to stop a `vm` is the `timeout` and we want to stop as soon as we return.

Fix https://github.com/matrix-org/matrix-public-archive/issues/34
2022-07-05 17:30:52 -05:00
..
hydrogen-render Stop Hydrogen from running in the background after we get our SSR HTML render data (#36) 2022-07-05 17:30:52 -05:00
lib Remove random log 2022-07-05 11:21:04 -05:00
routes Stop Hydrogen from running in the background after we get our SSR HTML render data (#36) 2022-07-05 17:30:52 -05:00
fetch-events-in-range.js Remove unneeded `include_redundant_members` from `/messages` `filter` and test that member state is still visible (#29) 2022-06-29 06:56:13 -05:00
fetch-room-data.js E2E test but still failing because fetching from start of day before test events happened 2022-02-23 21:25:05 -06:00
server.js E2E test but still failing because fetching from start of day before test events happened 2022-02-23 21:25:05 -06:00
start-dev.js Organize file and add more nodemon logging (#14) 2022-06-07 20:27:22 -05:00