Commits

Marco Pensallorto committed 13b3d90

Added some extra logging.

  • Participants
  • Parent commits 786d815

Comments (0)

Files changed (1)

storages/backends/moka.py

 
         if (self.local.exists(name)):
             if not self._redis.get(name):  # avoid firing multiple tasks
-                logger.info("Retrying upload for file '%s'", name)
+                logger.info("Scheduling upload task for file '%s'", name)
                 self._send_task(name)
 
+            else:
+                logger.info("Not scheduling task for file '%s' "
+                            "as it already ongoing.", name)
+
         else:
             # ok, here we're in trouble :-(
             logger.error(