Software /
code /
prosody
File
plugins/sql.lib.lua @ 6542:32c84e1f706d
net.server_select: Remove socket.sleep call from main loop
It's been there since the start; but should really not be required.
People can remember an issue with FreeBSD that this solved, but this was a hack solution anyway.
If that issue rears it's head again, we will solve it properly.
author | daurnimator <quae@daurnimator.com> |
---|---|
date | Mon, 19 Jan 2015 14:05:37 -0500 |
parent | 5494:9916f0a2d178 |
line wrap: on
line source
local cache = module:shared("/*/sql.lib/util.sql"); if not cache._M then prosody.unlock_globals(); cache._M = require "util.sql"; prosody.lock_globals(); end return cache._M;