Add global profile timeout var

mkts_backup
Tyler Goodlet 2022-04-01 13:27:07 -04:00
parent 8686cf99fe
commit 9c88b26d85
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ from functools import wraps
# NOTE: you can pass a flag to enable this:
# ``piker chart <args> --profile``.
_pg_profile: bool = False
ms_slower_then: float = 10
def pg_profile_enabled() -> bool: