Mercurial > p > roundup > code
view roundup/anypy/time_.py @ 7687:4dda4a9dfe0b
doc: add comment on method to set savepoint_limit dynamically
savepoint_limit isn't a real config option as in config.ini. I
generate one on the fly for use in the backend during import.
While this is arguably a valid config option, it is also something
that is niche (import a tracker to postgres) and adds clutter to
config.ini.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 29 Oct 2023 13:18:36 -0400 |
| parents | 07ce4e4110f5 |
| children | 60a6d50298c4 |
line wrap: on
line source
try: # Python 3+ from time import perf_counter except (ImportError, AttributeError): # Python 2.5-2.7 from time import clock as perf_counter # noqa: F401
