}
// for GetWorkflowExecutionHistoryRequest, we only care about long poll requests
longPollReq, ok := req.(*workflowservice.GetWorkflowExecutionHistoryRequest)
concurrent_request_limit.go
if ok && !longPollReq.WaitNewEvent {
// ignore non-long-poll GetHistory calls.
return func() {}, nil