mod_pubsub_serverinfo: Update to use mod_server_info (fixes #1841)
...but only for Prosody trunk users, because 0.12 mod_server_contact_info does
not use the new API in mod_server_info.
-- Provides total CPU time, useful for DERIVE
module:set_global();
module:provides("statistics", {
statistics = {
cpu_total = { -- milliseconds of CPU time used
get = function()
return os.clock() * 1000;
end
}
}
});