Opened 4 weeks ago

Last modified 3 weeks ago

#2666 testing defect

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 (2)

comment:1 Changed 3 weeks ago by Zlatin Balevsky

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

Please test

comment:2 Changed 3 weeks ago by Zlatin Balevsky

Status: assignedtesting
Note: See TracTickets for help on using tickets.