From 6410c68e2e047170212778576976cc6500ccfacc Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 1 Apr 2022 13:27:07 -0400 Subject: [PATCH] Add global profile timeout var --- piker/_profile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/piker/_profile.py b/piker/_profile.py index ca1fc188..2e726e80 100644 --- a/piker/_profile.py +++ b/piker/_profile.py @@ -24,6 +24,7 @@ from functools import wraps # NOTE: you can pass a flag to enable this: # ``piker chart --profile``. _pg_profile: bool = False +ms_slower_then: float = 10 def pg_profile_enabled() -> bool: