artdolya / Nlog.RabbitMQ

Target for popular Nlog logging tool
MIT License
30 stars 25 forks source link

problem:grpc communication is slow #62

Open sun97530663 opened 1 year ago

sun97530663 commented 1 year ago

When I use this package to export logs to rabbitMQ, if the rabbitmq service is not started, the grpc client requests I generate using dependency injection will be about 30 to 40 seconds late. Why?

artdolya commented 1 year ago

Could you please give an example of container registration?

sun97530663 commented 1 year ago

Could you please give an example of container registration?

ok,i create a demo project on github ,the link grpctest,now i know the question is <targets async="false">,if i set async="true" it is work ,but i dont no why,I haven't started printing anything yet, after all

sun97530663 commented 1 year ago

direction for use:1、start GrpcService2 2、start webApplication1 3、debug the api use swagger,then you can see the timeuse in console

thank you!