From 5227f2c8cc74f168ddedb2bce82a05c423b14f3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20K=C3=BCrten?= <sebastian@mobanisto.de>
Date: Fri, 3 Dec 2021 11:42:10 +0100
Subject: [PATCH] Extend Hacking Guide with info about RendezvousConstants

---
 HACKING.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/HACKING.md b/HACKING.md
index 7d59083a61..6ac6dc23e4 100644
--- a/HACKING.md
+++ b/HACKING.md
@@ -24,3 +24,12 @@ Some rules about threading in Briar Desktop:
 
 * Always use local variables instead of the composable State objects inside
   another thread: [Source](https://code.briarproject.org/briar/briar-desktop/-/merge_requests/55#note_57632)
+
+## Testing with multiple app instances
+
+When experimenting with multiple app instances, it can make sense to
+decrease the polling time in briar core so that adding contacts succeeds
+quicker. In `RendezvousConstants`, change
+`long POLLING_INTERVAL_MS = MINUTES.toMillis(1);`
+to something lower such as
+`long POLLING_INTERVAL_MS = SECONDS.toMillis(10);`.
-- 
GitLab