by maxfurman · 5y ago · 0 comments
BoundedChannelFullMode.DropNewest, DropOldest, DropWrite, Wait specifies the behavior to use when writing to a bounded channel that is already full
Sleep(100);
Release(MAX_REQS_PER_SECOND / 10);
or Sleep(1000 * WORKER_COUNT / MAX_REQS_PER_SECOND);
Release(WORKER_COUNT);
in a loop, depending on what numbers make more sense.