Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use java.util.concurrent.ExecutorService/submit instead of future #141

Merged
merged 1 commit into from
Dec 15, 2015

Conversation

ryfow
Copy link
Collaborator

@ryfow ryfow commented Dec 14, 2015

(future) starts the agent threadpool, which slows down shutdown
unless (shutdown-agents) is called.

This resolves #61.

(future) starts the agent threadpool, which slows down shutdown
unless (shutdown-agents) is called.
@ptaoussanis
Copy link
Member

Hi Ryan, fantastic- thank you!

ptaoussanis added a commit that referenced this pull request Dec 15, 2015
[#141] Use java.util.concurrent.ExecutorService/submit instead of `future` (@ryfow)
@ptaoussanis ptaoussanis merged commit 62721d9 into taoensso:master Dec 15, 2015
ptaoussanis pushed a commit that referenced this pull request Dec 15, 2015
…ture` (@ryfow)

(future) starts the agent threadpool, which slows down shutdown unless
(shutdown-agents) is called.
ptaoussanis added a commit that referenced this pull request Dec 15, 2015
@ptaoussanis
Copy link
Member

Have pushed [com.taoensso/timbre "4.2.0-SNAPSHOT"] to Clojars which includes your PR.

ptaoussanis pushed a commit that referenced this pull request Dec 15, 2015
…ture` (@ryfow)

(future) starts the agent threadpool, which slows down shutdown unless
(shutdown-agents) is called.
ptaoussanis added a commit that referenced this pull request Dec 15, 2015
@ryfow
Copy link
Collaborator Author

ryfow commented Dec 15, 2015

Glad to help. I never noticed the problem until I added slf4j-timbre. Somehow that was triggering the agents during compile which was adding a long pause between compile and running things with lein test.

I always (shutdown-agents) in my applications' shutdown procedure but didn't want to jury rig compile/load.

ptaoussanis pushed a commit that referenced this pull request Dec 22, 2015
…ture` (@ryfow)

(future) starts the agent threadpool, which slows down shutdown unless
(shutdown-agents) is called.
ptaoussanis added a commit that referenced this pull request Dec 22, 2015
ptaoussanis pushed a commit that referenced this pull request Dec 27, 2015
…ture` (@ryfow)

(future) starts the agent threadpool, which slows down shutdown unless
(shutdown-agents) is called.
ptaoussanis added a commit that referenced this pull request Dec 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade from 2.6.3 to any later kills shutdown time
2 participants