solanum-vs-hackint-and-char.../bandb
Jilles Tjoelker 9fca38c815 bandb: Group writes in transactions to reduce load on heavy kline activity.
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.
2010-03-03 22:58:16 +01:00
..
bandb.c bandb: Group writes in transactions to reduce load on heavy kline activity. 2010-03-03 22:58:16 +01:00
bantool.c bantool: change empty oper fields to "unknown". 2010-01-08 18:17:16 +01:00
Makefile.in Fix build: we need -DSQLITE_THREADSAFE=0 -DSQLITE_OMIT_LOAD_EXTENSION=1 2010-01-08 16:02:30 +01:00
rsdb.h Add bandb code. 2010-01-07 16:50:34 -06:00
rsdb_snprintf.c Add bandb code. 2010-01-07 16:50:34 -06:00
rsdb_sqlite3.c Add bandb code. 2010-01-07 16:50:34 -06:00
sqlite3.c Add sqlite3 to build. 2010-01-07 17:00:24 -06:00
sqlite3.h Add sqlite3 to build. 2010-01-07 17:00:24 -06:00