digital-asset / da-marketplace

BSD Zero Clause License
17 stars 13 forks source link

useStreamQuery hooks are disconnecting unexpectedly #42

Open alexmatson-da opened 3 years ago

dimitri-da commented 3 years ago

@alexmatson-da we verified that this also happens to the create to create-daml-app. perhaps we should involve the authors of daml.js?

alexmatson-da commented 3 years ago

I was only able to get it to happen with create-daml-app once. I tried again later and couldn't get it to happen with the template.

I've been discussing with Gary on the forum https://discuss.daml.com/t/usestreamquery-disconnecting/1325/6 and I think I'm going to try to see if a lower reconnectThreshold helps alleviate the issue

alexmatson-da commented 3 years ago

Hopefully fixed with #169 , leaving open pending further testing