Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout > 5000ms #6

Closed
hadidon opened this issue Sep 20, 2018 · 0 comments
Closed

Timeout > 5000ms #6

hadidon opened this issue Sep 20, 2018 · 0 comments

Comments

@hadidon
Copy link

hadidon commented Sep 20, 2018

it is impossible to set a timeout over 5000ms.
Testing this code, "hello" is never displayed :

{:ok, opq} = OPQ.init(workers: 1, interval: 0, timeout: 10000)
OPQ.enqueue(opq, fn -> 
  Process.sleep(6000)
  IO.inspect("hello") 
end)
@hadidon hadidon closed this as completed Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant