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

Улучшить поведение TimeoutServer для игр #730

Closed
vtm9 opened this issue Apr 26, 2020 · 0 comments · Fixed by #738
Closed

Улучшить поведение TimeoutServer для игр #730

vtm9 opened this issue Apr 26, 2020 · 0 comments · Fixed by #738

Comments

@vtm9
Copy link
Contributor

vtm9 commented Apr 26, 2020

  1. Обработать :tirgger_timeout в зависимости от текущиго состояния игры
  2. В базу пистаь state: timeout, только если игра была playing.
  3. Увеличить timeout до 3-х часов, пока нет функции продления
  4. Завершать процессы игр по тайммауту
    Codebattle.GameProcess.GlobalSupervisor.terminate_game(game_id)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants