Skip to content
Juan Ignacio Sánchez Lara edited this page Oct 3, 2017 · 2 revisions

Frequently Asked Questions

Timeouts

I'm importing a large file but it fails with 'timeout error', what's wrong?

CartoDB has some timeouts in order to allow some multi user safety (when you have lots of users you don't want many queries to run forever). In your self-hosted environment you could loose those restrictions. Enter Rails console (bundle exec rails c) and run:

u = User.find(username: 'your_username')
u.user_timeout = 30000 #should be in millisecs iirc
u.database_timeout = 30000
u.db_service.set_statement_timeouts
u.save
Clone this wiki locally