diff options
-rw-r--r-- | mirrors/management/commands/mirrorcheck.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mirrors/management/commands/mirrorcheck.py b/mirrors/management/commands/mirrorcheck.py index c2928e6..7ffb777 100644 --- a/mirrors/management/commands/mirrorcheck.py +++ b/mirrors/management/commands/mirrorcheck.py @@ -137,8 +137,7 @@ class MirrorCheckPool(object): logger.debug("joining on all threads") self.tasks.join() logger.debug("processing log entries") - for log in self.logs: - log.save() + MirrorLog.objects.bulk_create(self.logs) logger.debug("log entries saved") def check_current_mirrors(): |