From b117d39ebe1b21780b951c88d580f75077ae86cb Mon Sep 17 00:00:00 2001 From: David Manthey Date: Tue, 16 May 2023 14:36:22 -0400 Subject: [PATCH] Remove a useless log message --- .circleci/config.yml | 4 +++- histomicsui/handlers.py | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f3573e24..10bb8da6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,7 +17,9 @@ commands: steps: - run: name: Preinstall phantomjs to work around an npm permission issue - command: npm install -g phantomjs-prebuilt --unsafe-perm + command: | + . ~/.bashrc + npm install -g phantomjs-prebuilt --unsafe-perm - run: name: Run tests via tox # Piping through cat does less buffering of the output but can diff --git a/histomicsui/handlers.py b/histomicsui/handlers.py index cb5dd483..65691cae 100644 --- a/histomicsui/handlers.py +++ b/histomicsui/handlers.py @@ -124,13 +124,10 @@ def process_annotations(event): # noqa item = results['item'] user = results['user'] - startTime = time.time() file = File().load( event.info.get('file', {}).get('_id'), level=AccessType.READ, user=user ) - if time.time() - startTime > 10: - logger.info('Loaded annotation file in %5.3fs', time.time() - startTime) startTime = time.time() if not file: