analytics/test
hq1 0fa7f3c1e1
Make subsequent query boundaries idempotent (#3723)
* Make subsequent query boundaries idempotent

This should prevent time-sensitive race conditions
on subsequent `Plausible.Stats.*` calls for the same query.
Not sure if there are more places where now() is
dynamic relative to query life cycle, but it's a start.

* Format

* Update lib/plausible/stats/query.ex

Co-authored-by: Wojtek Mach <wojtekmach@users.noreply.github.com>

* Match on `Query.now` in a test

---------

Co-authored-by: Wojtek Mach <wojtekmach@users.noreply.github.com>
2024-01-25 08:59:03 +01:00
..
e2e Integrate ingestion monitoring data into instatus (#3515) 2023-11-13 15:11:59 +01:00
load Fix script path for k6 load test (#2068) 2022-07-29 09:00:50 -03:00
plausible Make subsequent query boundaries idempotent (#3723) 2024-01-25 08:59:03 +01:00
plausible_web Extract Universal Analytics import logic (#3700) 2024-01-23 10:24:08 +01:00
priv Replace Geolix with Locus (#2362) 2023-01-17 12:05:09 -03:00
support Extract Universal Analytics import logic (#3700) 2024-01-23 10:24:08 +01:00
workers Extract Universal Analytics import logic (#3700) 2024-01-23 10:24:08 +01:00
test_helper.exs Remove business tier feature flag (#3632) 2023-12-14 11:25:46 -03:00