mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 09:16:49 +01:00
3be0cda8ce
* perf(cohorts): reduce select batch size, and sleep 1 between Previously we were hammering the database, see https://github.com/PostHog/product-internal/issues/256 for details. Now we: 1. reduce the batch by 5 times 2. have a little sleep(1) between batches We also add a little bit of logging for instance in failure cases. * include stack trace info in warning * just reraise so we don't lose stack trace * use monotonic for timings, not time * update snapshots |
||
---|---|---|
.. | ||
api | ||
benchmarks | ||
bin | ||
certs | ||
clickhouse | ||
idl | ||
kafka_client | ||
management/commands | ||
migrations | ||
models | ||
tasks | ||
__init__.py | ||
apps.py | ||
conftest.py | ||
LICENSE | ||
pytest.ini | ||
settings.py | ||
urls.py |