mirror of
https://github.com/anope/anope.git
synced 2026-06-28 12:36:39 +02:00
Added db_mysql_live which allows Anope to pull data
from the four main SQL tables in realtime, which effectively gives us "live" SQL. Changed eventfd pipe engine to not use buffered write. Added TryLock to threading engines. Made blocking SQL queries in our SQL API thread-safe.
This commit is contained in:
@@ -162,7 +162,7 @@ class SocketEnginePoll : public SocketEngineBase
|
||||
s->SetFlag(SF_DEAD);
|
||||
}
|
||||
|
||||
for (int i = 0; i < total; ++i)
|
||||
for (int i = 0; i < SocketCount; ++i)
|
||||
{
|
||||
pollfd *ev = &this->events[i];
|
||||
Socket *s = Sockets[ev->fd];
|
||||
|
||||
Reference in New Issue
Block a user