diff options
author | Wolfy-J <[email protected]> | 2018-06-06 19:42:28 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-06 19:42:28 +0300 |
commit | 0da16e4ad9af6dff00c8431da7dc29cbd1d97f9e (patch) | |
tree | d8470d03332b7febe222105eb5a144fef1215289 /server.go | |
parent | c21f34e7f123c126722352f4460654c4aaf39b8b (diff) |
handle server failure
Diffstat (limited to 'server.go')
-rw-r--r-- | server.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -183,7 +183,7 @@ func (srv *Server) poolObserver(event int, ctx interface{}) { srv.pool = nil srv.factory = nil - // everything is dead + // everything is dead, this is recoverable but heavy state srv.throw(EventServerFailure, srv) } } |