Add delay before announce to ensure TCP interface is ready
The announce was firing before the TCP transport connection was fully established, causing Docker instances to never announce over the mesh. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2adef21ec6
commit
fe0e15edc4
1 changed files with 2 additions and 0 deletions
2
app.py
2
app.py
|
|
@ -93,6 +93,8 @@ def main():
|
||||||
allow=RNS.Destination.ALLOW_ALL,
|
allow=RNS.Destination.ALLOW_ALL,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Brief delay to ensure all interfaces (especially TCP) are fully ready
|
||||||
|
time.sleep(2)
|
||||||
destination.announce()
|
destination.announce()
|
||||||
set_setting("dest_hash", destination.hash.hex())
|
set_setting("dest_hash", destination.hash.hex())
|
||||||
start_gateway(reticulum)
|
start_gateway(reticulum)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue