Skip to content

Commit

Permalink
Remove a useless log message
Browse files Browse the repository at this point in the history
  • Loading branch information
manthey committed May 16, 2023
1 parent 1e8a351 commit b117d39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions histomicsui/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b117d39

Please sign in to comment.