summaryrefslogtreecommitdiff
path: root/src/irmd/reg/tests/ipcp_test.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2025-08-09 13:57:56 +0200
committerSander Vrijders <sander@ouroboros.rocks>2025-08-11 10:06:59 +0200
commit10f70a0ab27c8b80b1dcb501147d64a851e7ad06 (patch)
treead382d41564301f86153c4f29b69385e6b85a7b7 /src/irmd/reg/tests/ipcp_test.c
parenta6f272544855941c2f8081e727c51ad49955a937 (diff)
downloadouroboros-10f70a0ab27c8b80b1dcb501147d64a851e7ad06.tar.gz
ouroboros-10f70a0ab27c8b80b1dcb501147d64a851e7ad06.zip
irmd: Fix IPCP order in registry and query timeout
Until we have a more elaborate strategy for figuring out in which Layer a service is reachable, the IRMd queries the IPCPs for names. It currently does this in the order they are stored in the registry, and the idea was to do this ordered by IPCP type. That order got messed up when the registry was rewritten. This is now fixed, with a test. The default query timeout is also lowered from 20s to 200ms. It's better to let the IRMd fail and retry the flow allocation than spend 20s waiting for the link-state routing to converge on a layer that doesn't hold the name. This does wonders for tests using Rumba... Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/irmd/reg/tests/ipcp_test.c')
0 files changed, 0 insertions, 0 deletions