ruby_postal icon indicating copy to clipboard operation
ruby_postal copied to clipboard

Rails server starts too slow.

Open unrooty opened this issue 7 years ago • 3 comments

When I enable this gem in my project my server start for about 15-20 seconds. Is it normal?

unrooty avatar Sep 21 '18 10:09 unrooty

we're experiencing the same thing, I doubt that it's very normal but might just be the weight that libpostal comes with? Unsure. Memory usage also skyrockets.

PragTob avatar Nov 30 '18 10:11 PragTob

If you don't require the ruby_postal files when Rails starts then it will start at your normal speed.

opensourceame avatar May 13 '19 15:05 opensourceame

Same is happening with my tests. Since I only use this gem on a single controller I require it inside the endpoint (since it's a webhook it doesn't matter if it takes a little bit longer)

gogvale avatar Apr 24 '23 17:04 gogvale