Add global profile timeout var
parent
8686cf99fe
commit
9c88b26d85
|
@ -24,6 +24,7 @@ from functools import wraps
|
||||||
# NOTE: you can pass a flag to enable this:
|
# NOTE: you can pass a flag to enable this:
|
||||||
# ``piker chart <args> --profile``.
|
# ``piker chart <args> --profile``.
|
||||||
_pg_profile: bool = False
|
_pg_profile: bool = False
|
||||||
|
ms_slower_then: float = 10
|
||||||
|
|
||||||
|
|
||||||
def pg_profile_enabled() -> bool:
|
def pg_profile_enabled() -> bool:
|
||||||
|
|
Loading…
Reference in New Issue