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

How do I change timeout programmatically ? #14

Open
unoexperto opened this issue Aug 4, 2018 · 1 comment
Open

How do I change timeout programmatically ? #14

unoexperto opened this issue Aug 4, 2018 · 1 comment

Comments

@unoexperto
Copy link

unoexperto commented Aug 4, 2018

How do I change timeout programmatically ? It's hardcoded to 5 seconds for some reason.

And what's the meaning of this timeout ? Is it time within which I should materialize and complete consumption of resulting akka Source ? What if I process it for hours ?

@sullivan-
Copy link
Member

At present, you can change timeout by setting streamadapter.timeout in your application.conf file. That's a Typesafe config thing.

For StreamAdapter[akka.stream.scaladsl.Source, _], the timeout controls how long the Akka source to produce 10 elements.

Sounds gross. Sorry, I haven't looked at this code in a while.

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

2 participants