Installing a language can take over 5 minutes. That's a long time for a user to wait without any feedback.
Both the lang runner and main server should send some sort of streaming response to inform the front-end that it's processing. This should also prevent nginx from sending a "Gateway Timeout" error.
Technically this is a bit challenging, since I need to deal with both HTML and JSON output formats, and it's a bit hard to stream HTML into a useful feedback message for the user, especially in combination with Tera etc. Also there are multiple places where I need to run solutions so I need an easy system to plug into all of them.
Installing a language can take over 5 minutes. That's a long time for a user to wait without any feedback.
Both the lang runner and main server should send some sort of streaming response to inform the front-end that it's processing. This should also prevent nginx from sending a "Gateway Timeout" error.
Technically this is a bit challenging, since I need to deal with both HTML and JSON output formats, and it's a bit hard to stream HTML into a useful feedback message for the user, especially in combination with Tera etc. Also there are multiple places where I need to run solutions so I need an easy system to plug into all of them.