Skip to content
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

Oracle unsubscribe does not work #155

Open
Chralu opened this issue Oct 22, 2024 · 1 comment · May be fixed by #156
Open

Oracle unsubscribe does not work #155

Chralu opened this issue Oct 22, 2024 · 1 comment · May be fixed by #156
Assignees
Labels
bug Something isn't working

Comments

@Chralu
Copy link
Collaborator

Chralu commented Oct 22, 2024

Describe the problem you discovered

ref
    .read(
      aedappfm
          .ArchethicOracleUCOProviders.archethicOracleUCO.notifier,
    )
    .stopSubscription();

Does not actually stop subscriptions.

Describe the solution you'd like

No response

Epic

No response

@redDwarf03
Copy link
Member

@Chralu i created a test class to check unsubscribe method here: #156

I have no oracle's update after close method.
Could you precise your issue please

Test results

[log] 2024-10-24T17:27:54.956969 Start
[log] Oracle value: 2024-10-24 17:28:12.551966
[log] >>> Oracle update <<< (OracleUcoPrice(uco: Uco(eur: 0.0149, usd: 0.01609), timestamp: 1729783690))
[log] 2024-10-24T17:28:12.592465 Oracle value: 1729783690 - 0.01609 USD
[log] Oracle value: 2024-10-24 17:29:02.612591
[log] >>> Oracle update <<< (OracleUcoPrice(uco: Uco(eur: 0.01489, usd: 0.01608), timestamp: 1729783740))
[log] 2024-10-24T17:29:02.614096 Oracle value: 1729783740 - 0.01608 USD
[log] 2024-10-24T17:29:55.298516 Unsubscribe Oracle
[log] 2024-10-24T17:31:55.309939 Checking for updates after unsubscribe
[log] 2024-10-24T17:31:55.314764 End

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants