mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-01-22 12:38:56 +00:00
2b9ad5ccbc
* server: create debug logging * server: fix stats sending performance This change fixes how we send stats to the pulse server. This is done by not serially sending stats on the same task that we extract events from. The reason for this is that if the event buffer (stats_sender) gets full it will block namespace create requests. With this change, we now submit stats http requests off the main stats task and restrict the stats sending to 128 concurrent requests. This will allow us to accept more create namespace requests and efficiently send stats.