Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

r.js timeout is broken and server stops responding #42

Open
CMogilko opened this issue Oct 6, 2018 · 3 comments
Open

r.js timeout is broken and server stops responding #42

CMogilko opened this issue Oct 6, 2018 · 3 comments
Labels
bug Something isn't working

Comments

@CMogilko
Copy link
Member

CMogilko commented Oct 6, 2018

The docs https://rethinkdb.com/api/javascript/js/ say that default timeout for r.js() is 5 secs.
But this query r.js("while(true) {}") doesn't timeouts. Build today from the next branch. But it works in rethinkdb-legacy.

@CMogilko
Copy link
Member Author

CMogilko commented Oct 6, 2018

It is more. After this query server doesn't respond at all. Ctrl-C can't help with stopping server. Only kill helps.

@CMogilko CMogilko changed the title r.js timeout is broken r.js timeout is broken and server stops responding Oct 6, 2018
@CMogilko CMogilko added the bug Something isn't working label Oct 6, 2018
@asakatida
Copy link
Contributor

This is an issue discussed during the migration to Duktape see #5. There is a preview hook that needs to be setup for timeouts.

@asakatida
Copy link
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants