Add global profile timeout var
parent
ab58a05a11
commit
f4feb6406f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue