Skip to content

Commit

Permalink
wip restored sleep after all done, 100ms
Browse files Browse the repository at this point in the history
  • Loading branch information
levb committed Oct 9, 2024
1 parent c2ca137 commit 5892839
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -33596,10 +33596,10 @@ _waitForMicroservicesAllDone(struct threadArg *arg)
testCond((NATS_OK == s) && arg->microAllDone);
natsMutex_Unlock(arg->m);

// // microAllDone is set in the dispatcher thread, and it may not have freed
// // the subscription yet. With multiple endpoint subscriptions, it may take a
// // bit of time.
// nats_Sleep(200);
// microAllDone is set in the dispatcher thread, and it may not have freed
// the subscription yet. With multiple endpoint subscriptions, it may take a
// bit of time.
nats_Sleep(100);
}

static void
Expand Down

0 comments on commit 5892839

Please sign in to comment.