Add global profile timeout var
parent
947a514153
commit
6410c68e2e
|
@ -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