Mercurial > noffle
diff src/server.c @ 167:7ba337dafb2c noffle
[svn] * TODO,content.c,lock.c,server.c,server.h: Remove bug notice re:
need to do a Cont_write on Lock_closeDatabases in case of unwritten
content changes when releasing the lock. Update content to keep dirty
flag and avoid unnecessary writes, and lock to signal server to re-read
its group content info after the lock is released. Do NOT write content
info on Lock_close if dirty, as the placeholder article in unsubscribed
groups is currently done by adding it to the content when joining the
group and deliberately not saving it unless another content modification
takes place and thus causes the content to be saved.
author | bears |
---|---|
date | Sun, 25 Feb 2001 23:29:50 +0000 |
parents | 23a53c92d4d7 |
children | 19e3aa717196 |
line wrap: on
line diff
--- a/src/server.c Sat Jan 27 09:57:13 2001 +0000 +++ b/src/server.c Sun Feb 25 23:29:50 2001 +0000 @@ -1,7 +1,7 @@ /* server.c - $Id: server.c 244 2000-12-29 15:05:10Z enz $ + $Id: server.c 260 2001-02-25 23:29:50Z bears $ */ #if HAVE_CONFIG_H @@ -1393,6 +1393,12 @@ } void +Server_flushCache( void ) +{ + server.groupReady = FALSE; +} + +void Server_run( void ) { Bool done;