Commit 7921b8b1 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Now limit the size of the cache after every atomic call.

parent 6f43fef3
......@@ -17,6 +17,7 @@
#include "text-garb.h"
#include "config.h"
#include "disk-cache.h"
#include "cache.h"
long
end_of_atomic( Bool idle )
......@@ -24,6 +25,7 @@ end_of_atomic( Bool idle )
int timeout = TIMEOUT;
free_tmp();
cache_limit_size();
if ( idle )
if ( garb_text() == FALSE )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment