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] サーバを再起動したときにセッションのタイマーがちゃんと復活されるか確認 #73

Closed
p1ass opened this issue Jun 12, 2020 · 0 comments · Fixed by #80
Assignees
Labels

Comments

@p1ass
Copy link
Member

p1ass commented Jun 12, 2020

概要

セッションのタイマーはオンメモリで持っているためサーバが再起動されるとなくなってしまう。
その対策として、WebSocket接続時にタイマーがないならタイマーを生成するというロジックを書いてある(コメントアウトしている)

https://github.com/camphor-/relaym-server/blob/master/usecase/session.go#L179-L193

ただ、この実装でうまくいくか分からないので、サーバを再起動したときにセッションのタイマーがちゃんと復活されるか確認したい。

要件

タスク

  • 実装を本体に追加する
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant