LionWeb-io / lionweb-repository

Reference implementation of LionWeb repository
Apache License 2.0
2 stars 1 forks source link

When storing a large tree, sometimes a timeout cause the request to fail #26

Open ftomassetti opened 5 months ago

ftomassetti commented 5 months ago

When sending a tree of 1118932 bytes to be stored, sometimes the server goes in timeout. I think that the timeout should be configurable through an environment variable, similarly to what we do with the payload limit.

joswarmer commented 5 months ago

Agree, do you know whether the timeout is coming from express or from postgress?

ftomassetti commented 5 months ago

The next time it goes in timeout I will see if I can figure out what is the reason. The problem is that it is not easy to reproduce it as it happens after processing a few tens of ASTs