mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 23:40:57 +01:00
9fca38c815
When a ban is added or removed, open a transaction and close it after 3 seconds; any bans in the 3 seconds will not trigger another transaction (= 4 fsyncs with sqlite). The transaction is also committed if ircd closes the connection, but not if bandb itself is terminated with a signal. |
||
---|---|---|
.. | ||
bandb.c | ||
bantool.c | ||
Makefile.in | ||
rsdb.h | ||
rsdb_snprintf.c | ||
rsdb_sqlite3.c | ||
sqlite3.c | ||
sqlite3.h |