From 5e4d6cab00cb29cd088ab7b62ab13aff103b64cb Mon Sep 17 00:00:00 2001
From: onefang
Date: Sun, 19 May 2019 21:24:15 +1000
Subject: Dump OpenSim 0.9.0.1 into it's own branch.
---
OpenSim/Region/CoreModules/World/Archiver/AssetsArchiver.cs | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
(limited to 'OpenSim/Region/CoreModules/World/Archiver/AssetsArchiver.cs')
diff --git a/OpenSim/Region/CoreModules/World/Archiver/AssetsArchiver.cs b/OpenSim/Region/CoreModules/World/Archiver/AssetsArchiver.cs
index bc6a97d..3092fe0 100644
--- a/OpenSim/Region/CoreModules/World/Archiver/AssetsArchiver.cs
+++ b/OpenSim/Region/CoreModules/World/Archiver/AssetsArchiver.cs
@@ -46,13 +46,13 @@ namespace OpenSim.Region.CoreModules.World.Archiver
///
/// Post a message to the log every x assets as a progress bar
///
- protected static int LOG_ASSET_LOAD_NOTIFICATION_INTERVAL = 50;
+ protected static int LOG_ASSET_LOAD_NOTIFICATION_INTERVAL = 100;
///
/// Keep a count of the number of assets written so that we can provide status updates
///
- protected int m_assetsWritten;
-
+ protected int m_assetsWritten;
+
protected TarArchiveWriter m_archiveWriter;
public AssetsArchiver(TarArchiveWriter archiveWriter)
@@ -143,6 +143,11 @@ namespace OpenSim.Region.CoreModules.World.Archiver
asset.Data);
m_assetsWritten++;
+
+ //m_log.DebugFormat("[ARCHIVER]: Added asset {0}", m_assetsWritten);
+
+ if (m_assetsWritten % LOG_ASSET_LOAD_NOTIFICATION_INTERVAL == 0)
+ m_log.InfoFormat("[ARCHIVER]: Added {0} assets to archive", m_assetsWritten);
}
}
--
cgit v1.1