mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
Remove line cache from memory after 10 minutes of inactivity.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@345 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
6b811b1c2c
commit
84efea6a6a
2 changed files with 41 additions and 13 deletions
|
|
@ -28,6 +28,8 @@ typedef struct {
|
|||
} LINE_CACHE_SUB_REC;
|
||||
|
||||
typedef struct {
|
||||
time_t last_access;
|
||||
|
||||
int count; /* number of real lines */
|
||||
LINE_CACHE_SUB_REC *lines;
|
||||
} LINE_CACHE_REC;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue