Software /
code /
prosody
File
plugins/sql.lib.lua @ 6537:e4d443d05626
net.cqueues: Fixes hardcoded timeout for first iteration
This was originally put in place as a fix for what ended up a cqueues bug: https://github.com/wahern/cqueues/issues/40
A check for a cqueues version with the bug fix is included.
author | daurnimator <quae@daurnimator.com> |
---|---|
date | Tue, 13 Jan 2015 18:36:00 -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;