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 @@ ...@@ -17,6 +17,7 @@
#include "text-garb.h" #include "text-garb.h"
#include "config.h" #include "config.h"
#include "disk-cache.h" #include "disk-cache.h"
#include "cache.h"
long long
end_of_atomic( Bool idle ) end_of_atomic( Bool idle )
...@@ -24,6 +25,7 @@ end_of_atomic( Bool idle ) ...@@ -24,6 +25,7 @@ end_of_atomic( Bool idle )
int timeout = TIMEOUT; int timeout = TIMEOUT;
free_tmp(); free_tmp();
cache_limit_size();
if ( idle ) if ( idle )
if ( garb_text() == FALSE ) 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