The best time to register for DrupalCon Dublin is now. Earlybird discounts end July 29.
When running a long process the DB connection can be dropped. Pinging the DB would keep the connection alive.
I think system_get_files_database() would be a good "db ping" function. $files would be an empty array and $type could be 'db_ping'.
Patch still needs to take into account not running under drupal. Other than that it should be ready to go.
The following patch has been committed to 6.x & 7.x
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.