Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout Errors #134

Open
drewman-newman opened this issue Mar 29, 2019 · 1 comment
Open

Timeout Errors #134

drewman-newman opened this issue Mar 29, 2019 · 1 comment

Comments

@drewman-newman
Copy link

I'm trying to create a dev environment for an existing project. I'm working on this project for the first time and I'm new to this gem. When I run 'rake db:seed_fu', it gets to a certain point and then I start getting timeout errors. Is there a way to change the default timeout setting?

@sherllochen
Copy link

I'm running to the same error. But even strange.

Role.seed(:name,{name: "管理员"}) 

It will raise Mysql2::Error::TimeoutError: Lock wait timeout exceeded; try restarting transaction

Role.seed(:name,{name: "理员"}) 

It work fine.

Role.seed(:name,{name: "理员管"}) 

It work fine too...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants