pull/3231/head
Dan Groshev 2024-03-21 18:16:04 +00:00
rodzic 1c79b28a0e
commit 2cae8463ac
Nie znaleziono w bazie danych klucza dla tego podpisu
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -5,8 +5,10 @@ import { Client as PgClient } from 'pg'
const SAMPLE_RATE = 0.05
export function report(client: PgClient, tldraw_env: string, point: TLAnalyticsPoint) {
console.log('reporting')
try {
if (shouldSample()) {
console.log('shouldSample')
let promise = null
switch (point.type) {