命名管道回调需要10秒? [英] named pipe callback takes 10 seconds?

查看:85
本文介绍了命名管道回调需要10秒?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用客户端和服务器类包装的wcf dll.

got wcf dll with client and server classes wraping it.

当我的服务器使用回调时,我的客户端需要花10秒钟以上的时间才能获得它..

when my server uses callback it takes over 10 seconds for my client to get it..

怎么回事?

只有最简单的NetNamedPipeBinding端点.

only got simplest NetNamedPipeBinding endpoint.

有很多代码,所以我不确定要粘贴在这里什么.

got lots of code so I'm not sure what to paste here.

什么会导致这么长的时间.

what can cause such a long time.

只有第一次回调需要10秒..

only first callback takes 10 seconds..

此后它可以快速运行.

有人知道为什么吗?

推荐答案

没有任何帮助.我最终添加了一个虚假的呼叫修饰器.在系统启动时发送第一个呼叫.

Nothing helped. I ended up to add a fake call decorater. that sends the first call when the system is booting.

这篇关于命名管道回调需要10秒?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆