Index: media_mover_api.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/media_mover/media_mover_api.module,v
retrieving revision 1.1.2.46
diff -u -r1.1.2.46 media_mover_api.module
--- media_mover_api.module	10 Jan 2008 23:04:18 -0000	1.1.2.46
+++ media_mover_api.module	17 Jan 2008 13:42:08 -0000
@@ -217,6 +217,10 @@
  * Runs all active configurations
  */
 function media_mover_api_cron() {
+  // This ensures that Media Mover won't clog it's queue.
+  $before = strtotime("10 minutes ago");
+  db_query("UPDATE media_mover_config_list SET status = 'stopped' where status = 'running' AND last_start_time < %d", $before);
+
   // check to see if we should run on cron
   if (! variable_get('mma_no_cron_run', false)) {
     $configurations = _mm_get_active_configurations();
