On 20. mai. 2009, at 08.45, Thomas wrote:
> my message-processing doesn't work anymore, and i have no clue, what's
> the problem. I have installed libmysql-client-dev and gem mysql 2.7.
>
> ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone
> away: SELECT * FROM `repositories` WHERE (`repositories`.`hashed_path`
> = 'gitorious_repositories/testing/mainline') LIMIT 1
Oh dear, it seems your MySQL connection went away, this sometimes is
an issue with daemons using AR. You could configure your MySQL server
to have a longer timeout. Or you could force ActiveRecord to verify
that the connections are active:
ActiveRecord::Base.verify_active_connections!
for instance before messages are processed by the message processor.
Regards,
- Marius
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Gitorious" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/gitorious?hl=en
-~----------~----~----~----~------~----~------~--~---