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.
精彩评论