diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-10-31 20:55:54 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-10-31 20:55:54 +0300 |
commit | 48e621e0c0fcaa3bbb788147ccd4fc302c6c929b (patch) | |
tree | ab4c170ceb7021c0c9f34468987b882ff2c6a705 /src/buffer.h | |
parent | c750ae5859456d3bc7593e5998deac48cfad7c69 (diff) | |
download | rspamd-48e621e0c0fcaa3bbb788147ccd4fc302c6c929b.tar.gz rspamd-48e621e0c0fcaa3bbb788147ccd4fc302c6c929b.zip |
* Significate performance improving by vectorizing IO output (about 4 times for kv storage).
Diffstat (limited to 'src/buffer.h')
-rw-r--r-- | src/buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.h b/src/buffer.h index 51b321833..96e38d471 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -33,7 +33,7 @@ typedef struct rspamd_buffer_s { typedef struct rspamd_io_dispatcher_s { rspamd_buffer_t *in_buf; /**< input buffer */ - GList *out_buffers; /**< out buffers chain */ + GQueue *out_buffers; /**< out buffers chain */ struct timeval *tv; /**< io timeout */ struct event *ev; /**< libevent io event */ memory_pool_t *pool; /**< where to store data */ |