#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


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.


Change History (3)

comment:1 Changed 21 months ago by Zlatin Balevsky

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

Please test

comment:2 Changed 21 months ago by Zlatin Balevsky

Status: assignedtesting

comment:3 Changed 15 months ago by zzz

Resolution: fixed
Status: testingclosed

presumed fixed

Note: See TracTickets for help on using tickets.