Vito Sansevero
30ff4fd2eb
fix(thumbnails): lock the folder marker across processes ( #320 )
...
Review finding P2 on #591 : two installs sharing one thumbnail folder could
each read the marker, add a key and replace it, so the last writer
dropped the other's key. write_marker now re-reads, changes and replaces
the marker under a lock file made with O_CREAT | O_EXCL beside it (atomic
on shares, unlike flock); a lock older than 30 s, left by a writer that
died, is taken over, and a wait past 1.5 s fails as a TimeoutError like
an unreachable folder. Tested with three processes adding keys at once.
2026-10-31 22:39:29 -07:00
..
2026-10-31 20:29:06 -07:00
2026-11-01 01:24:27 +00:00
2026-10-31 05:43:48 +00:00
2026-10-28 19:58:05 +00:00
2026-10-31 19:51:06 -07:00
2026-10-31 05:43:48 +00:00
2026-10-28 18:49:06 +00:00
2026-10-29 12:00:32 +00:00
2026-10-31 05:43:48 +00:00
2026-10-31 02:01:06 +00:00
2026-10-31 05:43:48 +00:00
2026-10-26 16:14:50 -07:00
2026-10-31 19:35:30 -07:00
2026-11-01 01:24:27 +00:00
2026-10-30 03:44:03 +00:00
2026-10-31 05:43:48 +00:00
2026-10-30 03:44:03 +00:00
2026-10-31 05:43:48 +00:00
2026-10-31 19:51:06 -07:00
2026-10-29 14:06:42 +00:00
2026-10-31 05:43:48 +00:00
2026-10-29 21:09:22 +00:00
2026-10-30 04:18:01 +00:00
2026-10-31 20:48:22 -07:00
2026-10-29 21:09:22 +00:00
2026-10-31 05:43:48 +00:00
2026-10-28 09:06:15 +00:00
2026-10-31 05:43:48 +00:00
2026-10-31 13:59:29 +00:00
2026-10-24 05:28:44 -07:00
2026-10-31 05:43:48 +00:00
2026-10-31 02:01:06 +00:00
2026-10-31 02:01:06 +00:00
2026-10-31 22:39:29 -07:00
2026-10-31 22:39:20 -07:00
2026-10-29 01:30:58 +00:00
2026-10-25 10:17:07 -07:00
2026-10-29 19:05:21 +00:00
2026-10-23 15:02:18 -07:00
2026-10-31 02:01:06 +00:00
2026-10-28 20:45:15 +00:00
2026-10-31 02:01:06 +00:00
2026-10-21 09:10:18 -07:00
2026-10-31 20:29:06 -07:00
2026-10-31 02:01:06 +00:00
2026-10-31 19:35:30 -07:00
2026-10-24 12:54:09 -07:00
2026-10-31 20:29:06 -07:00
2026-10-31 22:39:20 -07:00
2026-10-31 22:39:28 -07:00
2026-10-31 20:29:06 -07:00
2026-10-31 22:39:12 -07:00
2026-10-31 22:39:12 -07:00
2026-10-31 22:39:12 -07:00
2026-10-31 20:29:06 -07:00
2026-10-31 22:39:12 -07:00
2026-10-31 20:29:06 -07:00
2026-10-31 19:51:06 -07:00
2026-10-29 11:32:48 +00:00
2026-10-31 05:43:48 +00:00