Opened 12 months ago

Closed 6 months ago

#2666 closed defect (fixed)

AccessFilter 10 sec. rewrite

Reported by: zzz Owned by: Zlatin Balevsky
Priority: minor Milestone: 0.9.44
Component: apps/i2ptunnel Version: 0.9.43
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

i2ptunnel AccessFilter? rewrites the record file every 10 seconds even if no change. This is a waste of I/O and hammers the disk, and it also is perplexing for the user looking at the timestamp on the file to see when it last added a new record.

The reload every 10 seconds is probably excessive also. Both too frequent, and the FileFilterDefinitionElement?.update() should store and compare the file modification time before reloading.

While it's not quite a major issue, it's unexpected and bad practice, and we should fix it for .44.

Subtickets

Change History (3)

comment:1 Changed 11 months ago by Zlatin Balevsky

Both issues have been addressed in trunk as of revision 90c12d8d79d05fb1f47add80defd4c8824710e20

Please test

comment:2 Changed 11 months ago by Zlatin Balevsky

Status: assignedtesting

comment:3 Changed 6 months ago by zzz

Resolution: fixed
Status: testingclosed

presumed fixed

Note: See TracTickets for help on using tickets.