Skip to content

fix: resource cleanup #454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

fix: resource cleanup #454

wants to merge 4 commits into from

Conversation

mineme0110
Copy link
Contributor

What was changed and what it is solving

How it was tested

Release Notes / Changelog

Signed-off-by: mineme0110 <[email protected]>
@mineme0110 mineme0110 requested a review from a team as a code owner May 27, 2025 15:50
Signed-off-by: mineme0110 <[email protected]>
Signed-off-by: mineme0110 <[email protected]>
@amagyar-iohk amagyar-iohk changed the title fix resource cleanup fix: resource cleanup May 27, 2025
Copy link

github-actions bot commented May 27, 2025

Integration Test Results

 5 files  ±0   5 suites  ±0   11s ⏱️ ±0s
17 tests ±0  17 ✅ ±0  0 💤 ±0  0 ❌ ±0 
20 runs  ±0  20 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit be4ad63. ± Comparison against base commit 9852bb5.

♻️ This comment has been updated with latest results.

ZStream.fromQueue(inboundQueue)
ZStream
.fromQueue(inboundQueue)
.timeout(10.seconds)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think having a timeout here is good.
Because in the case of web-sockets you may want to keep it open for a longer time.

the .ensuring(inboundQueue.shutdown) LGTM

@FabioPinheiro
Copy link
Contributor

I'm not sure this will make any different for the out of memory problem. I really don't like this whole implementation of DIDCommRoutes. I did this very hachish.
Also, don't see anything particularly wrong about this code. If you tested it we can merge.

Signed-off-by: mineme0110 <[email protected]>
Copy link
Contributor

@amagyar-iohk amagyar-iohk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems it's not working, suddenly the mediator dies. tested on cloud, will test locally
edit: locally worked, checking the cloud configuration

@amagyar-iohk
Copy link
Contributor

@mineme0110 this might be outdated due recent findings. should we close this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants