From e1cfbc78ee5832ba66cc3ad528717f3e6c0c9680 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: