node-imap icon indicating copy to clipboard operation
node-imap copied to clipboard

No timeout for openBox

Open jamestooks opened this issue 12 years ago • 2 comments

We were having an issue where occasionally opening a box would cause the system to hang. We fixed this by implementing a timeout around this code that forces it to close the current opened box and then try again.

Might be useful to implement a timeout in node-imap that works in the same sort of way as connection timeouts.

jamestooks avatar Oct 03 '14 10:10 jamestooks

If something like that were to be added it would probably be available to all requests, not just openBox(), but I'm not sure how common of a problem this is ...

mscdex avatar Oct 03 '14 12:10 mscdex

As previously mentioned, a pull request to add a timeout like this in a sane way for all requests would be welcome.

mscdex avatar Apr 03 '15 15:04 mscdex