-
Notifications
You must be signed in to change notification settings - Fork 99
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
Disconnecting after 1 minute #134
Comments
+1 |
what version of gnatsd are you running? |
latest,
|
looks like that default_stream_timeout (60s) used while connecting |
This is indeed caused by the
Or:
Large stream timeouts (above 999) are currently not handled properly. PR #132 contains changes to allow larger stream timeouts. I have just created PR #135 with some additional changes to improve the way stream timeouts are handled. |
@timsmid could you create a fork with all your PR merged and added to composer registry? Since there is no active maintaining of the library |
You will probably be better of setting up a repository / package yourself. Unfortunately, I have currently no intent to actively maintain or support this library. My fork with the applied timeout changes is publicly available at https:/timsmid/phpnats/tree/develop. If you have any further questions though, feel free to ask. |
@timsmid how to pull your repository with composer? |
You might be able to reference it directly in your Another alternative is forking my repository and creating a Packagist package yourself. Then you can use your own package in your |
use like this: |
thanks! |
I'm having the same issue as:
https://stackoverflow.com/questions/48744861/php-nats-client-disconnects-after-some-idle-time
Not sure what I'm missing.
The text was updated successfully, but these errors were encountered: