a year ago
When using railway run in my Rails application, such as railway run ./bin/rails c and performing an action like Modal.destroy_all, it is extremely slow. Operations that do not require validation and are just database operations, like Modal.delete_all, are fast. However, this only happens when accessing railway run; the application itself is fast. It is also noticeable a slowness when executing railway run ./bin/rails db:migrate.
1 Replies
a year ago
Hey Gabriel,
Please keep in mind that railway run is only running the given command locally with the linked service variables available, so the bottleneck is coming from your network.
https://docs.railway.app/guides/cli#local-development
Status changed to Awaiting User Response Railway • over 1 year ago
4 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 4 months ago