Skip to content

Commit 856e8ee

Browse files
committed
Wire up caching for events
1 parent 0b60fa0 commit 856e8ee

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

internal/server/redis/processor.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ func newEmptyResponse(requestType dispatcher.RequestType) (proto.Message, error)
8585
return &pbv2.ResolveResponse{}, nil
8686
case dispatcher.TypeSparql:
8787
return &pb.QueryResponse{}, nil
88+
case dispatcher.TypeEvent:
89+
return &pbv2.EventResponse{}, nil
8890
default:
8991
return nil, fmt.Errorf("unknown request type for caching: %v", requestType)
9092
}

0 commit comments

Comments
 (0)