Uploaded image for project: 'mod-orders'
  1. mod-orders
  2. MODORDERS-475

Sending EventBus events spawn new threads that not released

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      Overview:
      After upgrade to rmb v32.0.1 we had to no longer use VertexCompletableFuture library and replace supplyBlockingAsync to CompletableFuture.supplyAsync method but it lead spawning new thread and as result app crashing
      Steps to Reproduce:

      1. Send event to ReceiveOrderStatusChangeHandler and see that it spawn new threads

      Expected Results:
      Send event to ReceiveOrderStatusChangeHandler and another places that use CompletableFuture.supplyAsync not lead to spawn new threads
      Actual Results:
      Send event to ReceiveOrderStatusChangeHandler and another places that use CompletableFuture.supplyAsync lead to spawn new threads

      TestRail: Results

        Attachments

          Activity

            People

              yauheni_kuzmianok Yauheni Kuzmianok
              yauheni_kuzmianok Yauheni Kuzmianok
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases