Navigation Menu

Skip to content

Commit

Permalink
Report timeout error for sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 6, 2015
1 parent e7a7b64 commit 1422fb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/droonga/engine_state.rb
Expand Up @@ -128,6 +128,7 @@ def register_session(id, session)
@sessions[id] = session
logger.trace("new session #{id} is registered. rest sessions=#{@sessions.size}")
session.set_timeout(@loop, DEFAULT_SESSION_TIMEOUT_SECONDS) do
logger.trace("session #{id} is timed out!")
unregister_session(id)
end
end
Expand Down

0 comments on commit 1422fb4

Please sign in to comment.