Software /
code /
prosody
Changeset
7097:5a71aaa2c542
server_select: Add logging of when servers are paused and resumed
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 22 Jan 2016 02:00:43 +0100 |
parents | 7096:95e4c81291cc |
children | 7098:5286e79c6829 7100:301d58705667 |
files | net/server_select.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_select.lua Fri Jan 22 02:00:27 2016 +0100 +++ b/net/server_select.lua Fri Jan 22 02:00:43 2016 +0100 @@ -213,6 +213,7 @@ socket = nil; end handler.paused = true; + out_put("server.lua: server [", ip, "]:", serverport, " paused") end end handler.resume = function( ) @@ -225,6 +226,7 @@ _socketlist[ socket ] = handler _fullservers[ handler ] = nil handler.paused = false; + out_put("server.lua: server [", ip, "]:", serverport, " resumed") end end handler.ip = function( )