开发者

Restart agent thread-pool after calling shutdown-agents

If I call (shutdown-agents) from the REPL, and then开发者_如何学Python later on try to use an agent later on, I get an exception saying the agent pool isn't available (of course!). The question is, how can the agent thread pool be re-started without having to re-launch the REPL and lose all of my state?

Thanks!


shutdown-agents is meant to be run before you exit the JVM. As far as I know, you can't restart them afterward. See e.g. here and here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜