• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

shogi-server source


Commit MetaInfo

Revisãof1c843558e4c295c02476d5debd6c1b93d949e81 (tree)
Hora2020-12-14 20:42:55
AutorMizar <mizar.jp@gmai...>
CommiterMizar

Mensagem de Log

Check for :timeout often
60秒おきに空行を送信して接続を維持しようとするクライアントが存在しており、60秒おきのチェックでは持ち時間切れのチェックが行えなくなる問題が起きるための暫定処置。

Mudança Sumário

Diff

--- a/shogi_server.rb
+++ b/shogi_server.rb
@@ -46,7 +46,7 @@ require 'shogi_server/buoy'
4646 module ShogiServer # for a namespace
4747
4848 Max_Identifier_Length = 32
49-Default_Timeout = 60 # for single socket operation
49+Default_Timeout = 28 # for single socket operation
5050 Default_Game_Name = "default-1500-0"
5151 Default_Max_Moves = 256
5252 Default_Least_Time_Per_Move = 0