タグ

2012年7月11日のブックマーク (2件)

  • MySQLのinteractive_timeout 8時間 | 技術ブログ

    MySQLのinteractive_timeout(アイドルタイムアウトのようなもの) MySQLの設定でinteractive_timeoutという項目があり、これがディフォルトでは8時間に設定されているようだ。 よって8時間連続で、クエリ等を発行しなければコネクションは自動的に切断されてしまうのだ。 しかし、この設定を無効にする方法が存在しない。0を指定しても無駄である。 最大値は31536000秒(= 365日)なので、これを指定するか。 また、interactive_timeoutと同時にwait_timeoutも設定しておく必要があるよう。 interactive_timeoutとwait_timeoutの値のうち、 小さい値のほうの時間アクセスが無いとコネクションが自動的に切断されるようだ。 結局のところ、my.iniに以下のように追記することで自動切断時間を延ばせる。 [my

    dirablue
    dirablue 2012/07/11
    mysql タイムアウト 自動的に接続を切断
  • StarlingMVC

    StarlingMVC Framework StarlingMVC is an IOC framework for use in games built using the great Starling framework. Closely modelled after established IOC frameworks like Swiz and RobotLegs, StarlingMVC features: Dependency Injection(DI)/Inversion of Control(IOC) View Mediation Event Handling Stays out of the way of your Starling game code Simple configuration Easily extended More utilities to help w

    dirablue
    dirablue 2012/07/11
    starling mvc