df-lockedsettings-patch #18
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "df/webif:df-lockedsettings-patch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Retry access in case the settings database is locked.
This is what I have under test now, but it hasn't found a persistent lock yet.
Can you force a lock for test puposes using sqlite commnds?
Hopefully persistent locks wont occur in normal operation
How about this?
(normally
scan
runs to completion)Instead of 5 x 1s, what about 4 tries doubling the delay: 0.5s, 1s, 2s (4s?)?
That would work as well, in practice a single iteration should be enough to clear a 'normal' lock so .5 second initial delay is probably a good idea.
This seems to be working and I think it's ready to go in (at least) a beta version.
WIP: df-lockedsettings-patchto df-lockedsettings-patch