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

StanSubscribe.ack_wait_in_secs defaults to 1_800_000 seconds #15

Open
ufoscout opened this issue Mar 11, 2020 · 0 comments
Open

StanSubscribe.ack_wait_in_secs defaults to 1_800_000 seconds #15

ufoscout opened this issue Mar 11, 2020 · 0 comments

Comments

@ufoscout
Copy link

Hi,

in version 0.3.0-alpha.1, the default StanSubscribe code is:

impl Default for StanSubscribe {
    fn default() -> Self {
        StanSubscribe {
           ...
            ack_wait_in_secs: DEFAULT_ACK_WAIT,  
            ...
        }
    }
}

but DEFAULT_ACK_WAIT is defined as:

const DEFAULT_ACK_WAIT: i32 = 30 * 60000;

so the default ack_wait_in_secs is set to nearly 3 weeks :)

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