You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/10/31 10:27:11 UTC

[GitHub] [couchdb-nano] insidewhy opened a new issue, #309: After calling changesReader.stop the HTTP connection remains open for up to 60 seconds

insidewhy opened a new issue, #309:
URL: https://github.com/apache/couchdb-nano/issues/309

   1. Follow changes to a database via `changesReader.start`
   2. Stop listening to changes via `changesReader.stop`
   
   After this the HTTP connection remains open for up to 60 seconds. The `stop` event is only emitted from the change emitter after this.
   
   We have integration tests that include `changesReader`. It's not possible to destroy the database between tests because the HTTP connection remains open and eventually leads to an uncaught error. We can't wait for the changes reader to stop because it takes about 60 seconds which makes our tests too slow.
   
   We're trying to fix this now by using an abort controller (see https://axios-http.com/docs/cancellation).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb-nano] glynnbird commented on issue #309: After calling changesReader.stop the HTTP connection remains open until the next HTTP longpoll timeout

Posted by GitBox <gi...@apache.org>.
glynnbird commented on issue #309:
URL: https://github.com/apache/couchdb-nano/issues/309#issuecomment-1302276911

   Fixed in 10.1.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb-nano] glynnbird closed issue #309: After calling changesReader.stop the HTTP connection remains open until the next HTTP longpoll timeout

Posted by GitBox <gi...@apache.org>.
glynnbird closed issue #309: After calling changesReader.stop the HTTP connection remains open until the next HTTP longpoll timeout
URL: https://github.com/apache/couchdb-nano/issues/309


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org