txty-io / texterify

The translation and localization management system.
https://texterify.com
Other
169 stars 14 forks source link

Machine translating gateway timeout #139

Open kas84 opened 1 year ago

kas84 commented 1 year ago

When doing machine translation if large enough, it will get a 504 gateway timeout, (the message shown is reporting that it was successfully translated though). You should return a 204 code and tell the user it will be available in a few minutes.

The same thing happened to me when importing the json file. So it would be better to return a 204 and then ping the job every minute or so.

chrztoph commented 1 year ago

Hey,

thank you for your issue. We are currently working on a background system for imports and machine translation like there already is for the quality checks. Sorry for the troubles that this might caused. We are working hard to deploy this as soon as possible.