diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2025-08-09 13:57:56 +0200 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2025-08-11 10:06:59 +0200 |
commit | 10f70a0ab27c8b80b1dcb501147d64a851e7ad06 (patch) | |
tree | ad382d41564301f86153c4f29b69385e6b85a7b7 /src/irmd/reg/proc.h | |
parent | a6f272544855941c2f8081e727c51ad49955a937 (diff) | |
download | ouroboros-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/proc.h')
0 files changed, 0 insertions, 0 deletions