abartov / bybeconv

Project Ben-Yehuda's content management system.
https://benyehuda.org/
Other
10 stars 5 forks source link

Implement an automatic, exclusive single-editor lock per ingestible #378

Open abartov opened 2 weeks ago

abartov commented 2 weeks ago

Once an editor creates or loads an ingestible, it should be exclusively locked for 15 minutes, meaning no one else should be able to edit it.

The lock expires automatically 15m from last renewal. It auto-renews with every load/edit of any view of the specific Ingestible. This should minimize distraction for the editor working on the Ingestible while protecting against concurrent editing.