ruby_postal
ruby_postal copied to clipboard
Rails server starts too slow.
When I enable this gem in my project my server start for about 15-20 seconds. Is it normal?
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.
If you don't require the ruby_postal files when Rails starts then it will start at your normal speed.
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)