Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

place-contrib: tag enqueue's send run as independent of its queue write

Maurice3e860dd9cad1
diff --git a/server/src/nest/place-contrib/place-contrib.service.ts b/server/src/nest/place-contrib/place-contrib.service.ts
index 5b9ffb747..535519e81 100644
--- a/server/src/nest/place-contrib/place-contrib.service.ts
+++ b/server/src/nest/place-contrib/place-contrib.service.ts
@@ -188,6 +188,7 @@ export class PlaceContribService {
* The newest value replaces a queued one, and the queue is sent at once.
*
* @txStandalone a derived write after the place write committed: it never fails that write.
+ * @txIndependent the queue is one transaction; the send run it starts writes its own steps, apart from it.
*/
async enqueue(write: ContribWrite, now: Date = new Date()): Promise<void> {
const active = await this.store.activeFields();