Skip to content

Commit

Permalink
wip ++
Browse files Browse the repository at this point in the history
  • Loading branch information
levb committed Oct 22, 2024
1 parent 964857a commit 21d25ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ nats_dispatchThreadPool(void *arg)

if (completeCB != NULL)
{
nats_Sleep(100);
// nats_Sleep(100);
printf("<>/<> completeCB (pool) on %s\n", sub->subject); fflush(stdout);
(*completeCB)(completeCBClosure);
}
Expand Down Expand Up @@ -591,7 +591,7 @@ nats_dispatchThreadOwn(void *arg)

if (completeCB != NULL)
{
nats_Sleep(100);
// nats_Sleep(100);
printf("<>/<> completeCB on %s\n", sub->subject); fflush(stdout);
(*completeCB)(completeCBClosure);
}
Expand Down
2 changes: 1 addition & 1 deletion test/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -33591,7 +33591,7 @@ _startManyMicroservices(microService** svcs, int n, natsConnection *nc, microSer
bool allDone = false; \
natsMutex_Lock((_arg)->m); \
while ((waitStatus != NATS_TIMEOUT) && !(_arg)->microAllDone) \
waitStatus = natsCondition_TimedWait((_arg)->c, (_arg)->m, 10000); \
waitStatus = natsCondition_TimedWait((_arg)->c, (_arg)->m, 100); /*<>/<>*/ \
allDone = (_arg)->microAllDone; \
natsMutex_Unlock((_arg)->m); \
testCond((NATS_OK == waitStatus) && allDone); \
Expand Down

0 comments on commit 21d25ef

Please sign in to comment.