From f29188c81b5aa69c43dc87635ffe2a6df90c6b1e Mon Sep 17 00:00:00 2001 From: Jorrit Schaap <schaap@astron.nl> Date: Thu, 22 Sep 2016 06:40:35 +0000 Subject: [PATCH] Task #9607: do du on completing event --- SAS/DataManagement/StorageQueryService/cache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SAS/DataManagement/StorageQueryService/cache.py b/SAS/DataManagement/StorageQueryService/cache.py index c1b1cda8144..fe7626f7a9d 100644 --- a/SAS/DataManagement/StorageQueryService/cache.py +++ b/SAS/DataManagement/StorageQueryService/cache.py @@ -48,7 +48,7 @@ class CacheManager: numthreads=2) self.otdb_listener.onObservationAborted = self.onObservationAborted - self.otdb_listener.onObservationFinished = self.onObservationFinished + self.otdb_listener.onObservationCompleting = self.onObservationCompleting self.dm_listener = DataManagementBusListener(busname=dm_notification_busname, subjects=dm_notification_prefix + '*', @@ -322,7 +322,7 @@ class CacheManager: def __exit__(self, exc_type, exc_val, exc_tb): self.close() - def onObservationFinished(self, otdb_id, modificationTime): + def onObservationCompleting(self, otdb_id, modificationTime): self._onDiskActivityForOTDBId(otdb_id) def onObservationAborted(self, otdb_id, modificationTime): -- GitLab