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

Session doesn't reset if service overslept #652

Closed
filinvadim opened this issue Jul 13, 2024 · 2 comments
Closed

Session doesn't reset if service overslept #652

filinvadim opened this issue Jul 13, 2024 · 2 comments

Comments

@filinvadim
Copy link

With such config:

ReconnectInterval=300
StartTime=21:05:00
EndTime=21:00:00

Expected behavior - session reset.
But because service was completely frozen for 5 minutes it missed "not in session" state and hasn't reset session.
Possible solution - create goroutine with independent ticker for that.

@filinvadim
Copy link
Author

For some reason runtime never reached this line of code:

s.CheckSessionTime(s, now)

@ackleymi
Copy link
Member

@filinvadim I will look at this and get back this week

@filinvadim filinvadim closed this as not planned Won't fix, can't repro, duplicate, stale Jul 21, 2024
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