spring icon indicating copy to clipboard operation
spring copied to clipboard

Need to increase `BOOT_TIMEOUT` or make it configurable

Open Abrakazoo opened this issue 8 years ago • 2 comments

I need to run DatabaseCleaner.clean_with(:truncation) before forking so I added it to config/spring.rb. This caused spring server to exit with timeout after 20 seconds. I looked for a way to patch this by extending Spring::Client::Run but to no avail, for some reason. Added the patch to both lib/ and initializers, still not working. Forking only to change this constant seems like quite an overkill. What would you recommend I do in this case? Submit a PR? fork? Thanks!

Abrakazoo avatar Feb 27 '17 14:02 Abrakazoo

A PR to make this configurable seems reasonable

jonleighton avatar Feb 27 '17 14:02 jonleighton

"Nice" to hear someone had the same problem!

Here's the PR: https://github.com/rails/spring/pull/554

Sadly is failing for something that does not seem related to my changes (works in local). @jonleighton do you have any suggestion or advice for me?

jackscotti avatar Feb 08 '18 16:02 jackscotti